---
title: "2024-10-14 Vac weekly"
tags:
  - "vac-updates"
date: 2024-10-14
lastmod: 2024-10-14
draft: false
---

## Vac 2024/10/14

### vac:p2p:
- `nimlibp2p:vac:webrtc-transport`
  - SCTP https://github.com/vacp2p/nim-webrtc/pull/11
    - Add Stream managements (for DataChannel)
  - DataChannel https://github.com/vacp2p/nim-webrtc/pull/12
    - Close DataChannelStream and DataChannelConnection
    - Address TODO's
    - Ready to Review
  - Libp2p https://github.com/vacp2p/nim-libp2p/pull/960
    - Start working on making it reviewable
- `nimlibp2p:vac:quic`
  - Fix a linking issue with ARM64 for QUIC (on MbedTLS) https://github.com/status-im/nim-mbedtls/pull/5
- `nimlibp2p:vac:maintenance`
    - Reviewing PRs
    - [chore(ci): add arm64 for macOS](https://github.com/vacp2p/nim-libp2p/pull/1212)
- `nimlibp2p:vac:quic`
    - [feat(tls-certificate): generate and parse libp2p tls certificate](https://github.com/vacp2p/nim-libp2p/pull/1209)
- `gossipsub:vac:gossipsub-perf-improvements`
  - Analysed results from large message performance simulations. Had to run many more simulations.
      - Created a [VAC form post](https://forum.vac.dev/t/iwant-messages-may-have-negative-impact-on-message-dissemination-latency-for-large-messages/366) on IWANT message behavior
      - Created a [VAC form post](https://forum.vac.dev/t/message-dissemination-time-higher-than-expected-time-is-claimed-by-the-last-10-peers/367) on latency anamoly for large message counts
  - Finalized results for the last message handling article

### vac:tke:
- `vac:tke:codex:v1-supply-tokenomics:validator`
  - introduced a basic model for the validator (and watcher) role
- `vac:tke:codex:v1-supply-tokenomics:litepaper`
  - started reviewing the mainnet litepaper
- `vac:tke:nomos:intro-base-layer-economy:tx-fees`
  - finalized reading about the EIP-1559 for Nomos tx fee market
  - understood the possibility of implementing it on Nomos
- `vac:tke:nomos:intro-base-layer-economy:mixnet`
  - rewrote part of the previous work on the economics of Mixnets
- `vac:tke:nomos:intro-base-layer-economy:da-fee`
  - researched the Tokenomics of the Data Availability Layer
- `vac:tke:status:aura-incentives:xp-program`
  - expanding the analysis on L2 economics
  - monitoring progress of the two branches of staking contract development
- `vac:tke:waku:incentivized-rln-mainnet:rln-economy`
  - review and feedback to Francks RLN onchain analysis
  - following Sergei's progress
- `vac:tke:ift:catsfishing-mvp:minimal-economy`
  - sync with Juan on cats fishing modeling, reviewing his work 
  - Prepared and gave presentation on this end
  - Finished writeups on token econnomics canvas, monetary policy, token flow.
  - Reviewed sims by Martin and dashboard by Frederico
- `vac:tke:ift:based:write-up`
  - Started working towards based deployment strategy writeup
- `vac:tke:ift:tokenomics-research-forum:ve3`
  - researched EIP1559 & beyond for blogpost
- `vac:tke:ift:tokenomics-research-forum:ve3`
  - researching ve(3,3) for the potential blog post

### vac:dst:
- `waku:waku-scaling:test-store-protocol-at-scale`
    - Discovered issue where sometimes 412 is returned when querying for store messages
    - Check Tanya results for store testing
- `vac:libp2p-evaluation:regression-testing`
    - Found Kubernetes workers that have problems
        - Probably out of sync?
        - Bandwidth increased not dependant on version
        - [Notion notes](https://www.notion.so/Nim-libp2p-v1-6-0-regression-testing-September-2024-ongoing-10a8f96fb65c8055bd33db7dd5745441?pvs=4#1198f96fb65c80a4835ae9981616d6de)
        - [Discord thread](https://discord.com/channels/864066763682218004/1113778766657880127/1293151427367014410)
- `admin/misc`:
    - NCT writing and reviewing, major efforts
        - Getting NCT defined, timelined, accurate
        - Rewrites, meetings, 1:1s
        - PR reviews and edits
- `codex:codex-comparison:matrices-deployments`
    - Codex support and discussions
        - Find out how best to continue supporting Codex, and support better
        - Agree on division of BitTorrent work
    - Codex meetings
        - BitTorrent meeting
        - DSN comparison meeting

### vac:qa:
- `waku:status-go-functional-testing-2024q4:migrate-to-status-backend`
	- Reviewed QA framework move to status-backend PR from Anton
	- Reviewed Pablos's PRs on mvds 
	- Handover status-cli to status-backend migration to Sam. 
- `vac:qa:ift:projects-qa-strategy-2024q4:waku`
    - Creating Waku QA Strategy documentation for js-waku, nwaku and go-waku. Started with js-waku
- `nomos:da-testing-2024q4:basic-functionality-tests`
    - [Test run1 for Nomos/Da - in progress](https://www.notion.so/DA-Test-Plan-Run1-084243a3256c47ae9eee1cfd46fd469b)  
    - chore: Da behavior membership tests [PR 819 - in progress](https://github.com/logos-co/nomos-node/pull/819)
    - KZG10 library & Nomos KZG review (by Ramses):
        - [In progress doc](https://www.notion.so/Code-review-Nomos-library-1068f96fb65c80338499c9f06e702b41)
        - [change to domain initialization](https://www.notion.so/WiP-Code-review-Nomos-library-1068f96fb65c80338499c9f06e702b41?pvs=4#1198f96fb65c8007a978fdf37b504833) proposed to devs
- `vac:nim-libp2p-testing-2024q4:gossipsub`
    - Gossipsub. Begin working on the more difficult cases
    - Worked on remaining Test cases on Block 6 from Gossipsub test plan with Mesh Logic.
    - Got old PR Review changes done for [PR 1](https://github.com/vacp2p/nim-libp2p/pull/1205) and [PR 2](https://github.com/vacp2p/nim-libp2p/pull/1205)
    - Raised [Issue](https://github.com/vacp2p/nim-libp2p/issues/1211) wrt nim-libp2p Test design class leading to recurssion in writing test in single file.
	- Follow up on PR  [#1204](https://github.com/vacp2p/nim-libp2p/tree/block5Tests-protobuf) and test without IDontWant message according to dev's comment 
	- Analyze why some parameters[ping-pong] aren't encoded & decoded from RPC message 
- `waku:interop-testing-2024q4:edge-cases`
    - download & setup env for nwaku
    - understand what is needed and go through APIs to find the corner cases
    - go through old test cases for better understanding
    - writing initial draft test cases 
- `admin/misc`
	- Adjustments to QA NCT [tasks and commitments](https://roadmap.vac.dev/qa/)
	- Team alligments
	- Reorganized the notion [QA Page](https://www.notion.so/Quality-Assurance-QA-fc627eb6fd6a47e285eaccc56f7667f2)
	- OOO 2 days (Roman)
	- OOO 2 days (Alex)

### vac:acz:
- `ift:de-mls-testnet:de-mls-rfc`
	- Improvement and *Solidityfication* of the authentication phase. [Link to Notion](https://www.notion.so/WiP-Authentication-phase-for-RFC-11b8f96fb65c80b2b153e7eeb1d6c3b6). (Ramses)
	- Inclusion of custom authenatication phase in the [RFC](https://github.com/vacp2p/rfc-index/tree/eth-secpm-alt_authentication). (Ramses)
	- Forum post regarding comparison (TBD). (Ramses) 
- `ift:de-mls-testnet:presentation`
	- Preparation of presentation on deMLS for IFT research call. (Ramses)
- `consulting:codex:proxy-re-encryption`
    - Final Notion document regarding [code review](https://www.notion.so/WiP-Code-review-Nomos-library-1068f96fb65c80338499c9f06e702b41). It closes collaboration with Nomos.(Ramses)
- `ift:libp2p-mix-poc:libp2p-integration`
	- Implement client-side functionality for creation and transmission of Sphinx packets [WiP]. (Akshaya)
	- Develop comprehensive test suite for mix protocol. (Akshaya)
	- Meet with Alex to discuss Waku integration. (Akshaya)
- `ift:de-mls-testnet:ef-application`
    - Started to refine the [EF grants application doc in notion](https://www.notion.so/de-mls-Proposal-1038f96fb65c80bf9108d8a5f67d0ec1) (Ugur)
- `vac:acz:ift:think-tank:zk-consulting-codex-1`
    - Post notes on FrePAK (Marvin)
- `vac:acz:ift:think-tank:zk-consulting-codex-2`
    - Finish row updates (Marvin) 
    - Begin the setup for benchmarks on commitments and row update proofs. (Marvin)
- `vac:acz:ift:acz-research-destination:zk-think-tank`
    - Create a forum post answering November's zk question. (Marvin)
- `admin/misc`
	- 1 cc is ooo for whole week between 14th - 20th October (Ekaterina)
	- 1 cc is ooo for Monday 14th October (Akshaya)

### vac:sc:
- `vac:sc:status:staking-protocol-v1:testing`
    - [PR#48 test(RewardsStreamerMP): ensure bonusMP and maxMP are decreased](https://github.com/vacp2p/staking-reward-streamer/pull/48)
    - [Issue #43 initialMP (bonusMP) should be considered in calculations ](https://github.com/vacp2p/staking-reward-streamer/issues/43)
    - [Issue #52 Staking too low balance can cause MP to be zero.](https://github.com/vacp2p/staking-reward-streamer/issues/52)
    - Add test to ensure `bonusMP` and `maxMP` are decreased proportionally at unstake
        - https://github.com/vacp2p/staking-reward-streamer/pull/48
- `vac:sc:status:staking-protocol-v1:merging-existing-solutions`
    - Staking Reward Streamer
        - [PR#39 feat: add StakeVault and implements StakeManager interfa[](https://)[](https://)ce into RewardsStreamerMP](https://github.com/vacp2p/staking-reward-streamer/pull/39)
    -  Stake Manager
        - [Issue #147 bug(StakeManeger): unstake does not reconsider changes in expiredMP for estimation](https://github.com/logos-co/staking/issues/147)
        - [Issue #148 feat(StakeManager): add function to owner enable emergency exit](https://github.com/logos-co/staking/issues/148)
        -  [PR#150 refactor(StakeManager): extract interfaces and rename variables to merge functionalty with StakingRewardStreamer](https://github.com/logos-co/staking/pull/150)
- `vac:sc:status:staking-protocol-v1:formal-verification`
    - Added invariant that `sumOfBalancesIsTotalStaked`
        - https://github.com/vacp2p/staking-reward-streamer/pull/42
    - Refactoed `potentialMP` to `maxMP` as needed to proof that `accountMPLessEqualAccountMaxMP` invariant
        - https://github.com/vacp2p/staking-reward-streamer/pull/45
    - Added invariant that `accountMPGreateEqualAccountStakedBalance`
        - https://github.com/vacp2p/staking-reward-streamer/pull/47
- `vac:sc:status:staking-protocol-v1:upgradeability`
    - Research on Upgradability
- `vac:sc:status:xp-token-v1:token-implementation`
    - implemented base XP ERC20 token https://github.com/vacp2p/staking-reward-streamer/pull/10
    - updated XP Token to use Ownable2Step https://github.com/vacp2p/staking-reward-streamer/pull/51
- `vac:sc:status:xp-nft-v1:token-implementation`
    - worked on based implementation of XP NFT Token https://github.com/vacp2p/staking-reward-streamer/pull/12
        - added tests
        - added a base metadata generator
        - implemented SVG generator
        - implemented URL generator
- `codex::contracts-formal-verification`
    - finalized PR "verify slots transitions and that a slot can be paid only once" https://github.com/codex-storage/codex-contracts-eth/pull/188

### vac:nim:
- `tooling:vac:lsp`
  - adds extension/tasks which returns all nimble tasks for the current project #256 (https://github.com/nim-lang/langserver/pull/256)
- `tooling:vac:compiler`
	- Bumps nimble to v0.16.2 #24283 (https://github.com/nim-lang/Nim/pull/24283)
- `tooling:vac:nimble`
	- [Discarded] install also does setup. setup is now a deprecated alias for install #1270
 https://github.com/nim-lang/nimble/pull/1270
  - enable sat by default #1273 https://github.com/nim-lang/nimble/pull/1273
  - Nimble Release https://github.com/nim-lang/nimble/releases

### vac:rfc:
- `ift:rfc:vac:rfc-index-maintenance-2024q4`
    - Update waku links based on broken links on rfc.vac.dev, synced with comms -https://github.com/vacp2p/rfc.vac.dev/pull/7#pullrequestreview-2362913183 - https://github.com/vacp2p/rfc-index/pull/104 (Jimmy)
- `ift:rfc:waku:updates-of-mature-waku-rfcs-2024q4:34/WAKU2-PEER-EXCHANGE`
    - Continued work on peer-exchange move to draft, should be ready for feedback next week - https://github.com/vacp2p/rfc-index/pull/7 (Jimmy)
- `ift:rfc:vac:rfc-culture-establishment-2024q4`
    - Updating the [RFC roadmap](https://roadmap.vac.dev/rfc) with relevant commitments and details (what is left is to fix the dates, update the format into markdown and a few minor details). (Filip)
    - Added a draft [page](https://www.notion.so/A-new-RFC-Homepage-proposal-11c8f96fb65c804aad61f3fbad236863) some ideas for homepage and other things in Notion to promote the RFC Culture. (Filip)
- `ift:rfc:nomos:data-availability-raw-rfc-2024q4`
    - Started reading and testing the DA specification in preparation of a raw RFC, since the DA protocol has reached a later [implementation phase](https://github.com/logos-co/nomos-node/pull/818). (Filip)

### vac:nes:
- `state-separation:vac:state-separation-architecture-poc:key-protocol`
    - Work of key protocol specification.
    - Summary of keys to be used in NSSA.
    - Work then create a proposal doc on on the key protocol.
    -  Worked on private state keys, private state addresses and viewing keys. Created an [initial draft](https://www.notion.so/Initial-draft-11b8f96fb65c803da6c3ca07a3886744).
- `state-separation:vac:state-separation-architecture-poc:memory`
    - Mempool and merkle trees [PR reviews](https://www.notion.so/1-Simple-mempool-crate-1178f96fb65c81188f65c43515d3a5cd).
    - Storage hashing and additional functionality work.
    - [Simple mempool crate](https://www.notion.so/1-Simple-mempool-crate-1178f96fb65c81188f65c43515d3a5cd)
    - [Merkle Tree implementation for public transactions](https://www.notion.so/2-Merkle-Tree-implementation-for-public-transactions-1178f96fb65c81b59af8e9f2291166e6)
- `vm-foundations`
    - SP1 issue and communication

