--- title: "2024-09-23 Vac weekly" tags: - "vac-updates" date: 2024-09-23 lastmod: 2024-09-23 draft: false --- ## Vac 2024/09/23 ### vac:p2p: - `nimlibp2p:vac:webrtc-transport` - [Test/Find error PR](https://github.com/vacp2p/nim-webrtc/pull/23) - [SCTP PR](https://github.com/vacp2p/nim-webrtc/pull/11) - [Usrsctp repository](https://github.com/status-im/nim-usrsctp) - Fix the macos problem - First try using DockerOS (joke on them, they received a [DMCA from Apple](https://github.com/sickcodes/Docker-OSX/issues/799#issuecomment-2320096128) two weeks ago) - Find the issue using some tricks on the CI. - `Sockaddr` is not defined in the same way in linux and macos - Investigate Windows issue - Using the same CI tricks to try to understand what's the issue - `nimlibp2p:vac:maintenance` - review https://github.com/vacp2p/nim-libp2p/pull/1183. Should be good now. - check the oldest opened PR on nim-libp2p https://github.com/vacp2p/nim-libp2p/pull/664 - [chore: fix devel compilation issues](https://github.com/vacp2p/nim-libp2p/pull/1195) - code review - `nimlibp2p:vac:quic` - Libp2p TLS handshake `gossipsub:vac:gossipsub-perf-improvements` - Worked on identifying performance evaluation methodology/metrics for large message handling article. - Worked on shadow simulator for updated environments (had to fix a few issues). Still need to update some previous work with current master. ### vac:tke: - `nomos:selfish-behavior` - continued studying the selfish proposing problem in PoS (Frederico) - `nomos:base-layer` - analysed the token design of chains similar to Nomos (Frederico) - `status:L2-deployment` - developed an implementation for the "fish biting the hook" problem (Frederico) - Worked on CatsFishing writeup on price dynamics, fish population as a function of players, token distribution (Juan) - Met with Ned (Juan) - Met with Based team and helped them with a request request (Juan) - providing feedback as the XP program details are finalized (Martin) - continuing the discussion around the reward scheme in Cats Fishing (Martin) - drafting initial reward structure (Martin) - `status:SNT-staking` - monitoring progress of the two branches of staking contract development (Martin) - `waku:general-incentives` - meeting the team and discussing RLN and overall Waku economy (Martin) - monitoring ongoing discussions around Sergei's work and Alvaro's proposal (Martin) - `admin/misc` - researching inclusion lists for this week's EIP Discussion series (Martin) - `codex:cdx` - reviewed token supply mechanics of similar protocols (Frederico) - met with the team and discussed the outcome of their offsite (Frederico) - Met team on Friday to discuss (Juan) ### vac:dst: - `admin:misc` - Two CCs OOO - `vac:dst:deployment-and-analysis:waku:midscale` - Ran two heterogenous simulations with Waku, blending IDONTWANT-capable and non-capable nodes. - `vac:dst:deployment-and-analysis:codex:testnet` - Researching best method for deploying Codex in VacLab + Riff Labs London, final storage checks This week: - `vac:dst:deployment-and-analysis:waku:midscale` - Action go-waku IDONTWANT discussion/request: - https://discord.com/channels/1110799176264056863/1276567145785987195 - Create a report template for results of Store testing - Start using shards in deployments - Check with Zoltan/Gabriel if there are updates with duplicated msg/block issues. - Compile report from simulation data - Reconnect with Alberto on next steps for deployments - `vac:dst:deployment-and-analysis:waku:10k` - Run deployment, check results (using nwaku v0.32-curl) - `vac:dst:deployment-and-analysis:codex:testnet` - Deploy at least 100TB worth of Codex nodes, aiming for 500TB and then 1PB of nodes - `vac:dst:tooling:vac:deployer-tool` - Progress ArgoCD autodeploy ### vac:qa: - `waku:test-automation-status-go-cli-2` - Discussed with Igor about the future of status testing and how we can help.(@Florin) - He wants us to use a different tool [statusd](https://github.com/status-im/status-go/tree/develop/cmd/statusd) that will offer greater support for testing. - When the tool is ready we need to replace status-cli with that one for the existing tests. - Talk with status QAs on what tests to automate next. - Get code/line coverage reports when running the tests. - `vac:test-automation-nim-libp2p` - Removed Rendezvous part of the Gossipsub test plan and created a [new test plan](https://www.notion.so/Rendezvous-e4c7045ad8f1474c879f30e742666a72)(@Florin) - [Nim Quickstart Guide](https://www.notion.so/Nim-Quickstart-Guide-1038f96fb65c805783e0cfbc79710dc8)(@Alex) - `nomos:test-automation-data-availability` - [Test run1 for Nomos/Da - in progress](https://www.notion.so/DA-Test-Plan-Run1-084243a3256c47ae9eee1cfd46fd469b)(@Roman) - chore: Da dispersal unit tests update [in progress](https://github.com/logos-co/nomos-node/pull/720) - pair coding session requested(@Roman) - chore: Improve coverage workflow [merged](https://github.com/logos-co/nomos-node/pull/738)(@Roman) - `waku:interop-testing-02` - Raised PR for part 1 for the negative test case of v3 with cursor with 5 test cases. [Part 1]( https://github.com/waku-org/waku-interop-tests/pull/73)(@Sam) - Raised PR for part 2 for the negative test case of v3 with hashes and other invalid query params with 7 test cases. PR [Part 2](https://github.com/waku-org/waku-interop-tests/pull/74)(@Sam) - `admin/misc` - OOO 2 days(@Florin) - OOO 3 days(@Alex) - Discussed with Aya, setup meetings and created [first task for her](https://www.notion.so/Aya-First-Task-1068f96fb65c80fe9c9bf617b6cf0427)(@Florin) - Had few debugging wrt repo permission and raising PR as part of setup for waku-interop-tests(@Sam) ### vac:acz: - `secure-channels:waku:mls-poc` - Create [Decentralized nonce generation page](https://www.notion.so/WiP-Decentralized-nonce-generation-1048f96fb65c80cdb7b1df1b861ce71e) for Decentralized usage of SIWE for the [RFC](https://github.com/vacp2p/rfc-index/blob/eth-secpm-splitted/vac/raw/eth-demls.md). - Discuss [KZG code review](https://www.notion.so/Code-review-KZG-Commitment-1e4eb54ffda747519ae8a330a90981a7) from [discord](https://discord.com/channels/864066763682218004/1286267535297351772/1286267539579736106) - Study on decentralized authentication based on this [discord message](https://discord.com/channels/864066763682218004/1242042888926396436/1285519000414982186) - Started to review Ramses' [decentralized nonce gen](https://www.notion.so/WiP-Decentralized-nonce-generation-1048f96fb65c80cdb7b1df1b861ce71e) doc - Review the [prism](https://github.com/deltadevsde/prism) based on the Frank message from discord. - `zerokit:vac:maintenance` - Merged [PR](https://github.com/vacp2p/zerokit/pull/268) about fixing CI - Tried defining the zkey in the code, but it turned out to be unprofitable. Finished working with arkzkey - change to uncomressed key. [PR](https://github.com/vacp2p/zerokit/pull/269) now is ready for review - Improve CI regarding new features - check that all tests and benchmarks are run for all features. [PR](https://github.com/vacp2p/zerokit/pull/270) now is ready for review - Started working on PoC with [circom-witness-rs](https://github.com/philsippl/circom-witness-rs ) instead of using the zkey. - `anon:vac:gossipsub-anonymity` - [Made tag manager](https://github.com/vacp2p/mix/commit/2f2f4dabda6ae89d0871385825afb3d3783c2dcd) and related [usage GC-safe](https://github.com/vacp2p/mix/commit/88f7a1ad6da5d55824d9d37b0f59dc94c4d5bce4). - Implementing mix libp2p protocol [handler server side](https://github.com/vacp2p/mix/commit/eb75cce4841b87bc73760c605ee92baa4ff15a29#diff-e743d8212dfb234be83190b34e4c192f6f2494ae2b253c5a98e2fd31451c1894R10) (WIP). Finished intermediary nodes, exit still remaining. - Finished generic network manager implementation. May need to adapt it to our mix handler implementation. ### vac:sc:: - `status:staking-contracts-v1` - implemented multiplier points in the rewards streaming contract https://github.com/vacp2p/staking-reward-streamer - more research on rewards algorithms based on discussions with Token Economics team - remove mintBonusMP internal function - https://github.com/logos-co/staking/pull/130 - improve execute functions - https://github.com/logos-co/staking/pull/129 - fix finalizeEpoch to use last epoch epochEnd - https://github.com/logos-co/staking/pull/127 - fix CI taking too long - https://github.com/logos-co/staking/pull/126 - Introduced shared spec functions to reuse across certora spec file - PR: https://github.com/logos-co/staking/pull/117 - Added tests to staking rewards streamer contract - PR: https://github.com/vacp2p/staking-reward-streamer/pull/2 - Worked on more tests, taking lockup time into account - Worked on MP calculation correctness rule in certora - `vac:maintainance/misc` - merged pre-commit hook to run adorno - smallfix on pre-commit hook - https://github.com/vacp2p/foundry-template/pull/37 ### vac:nim: - `tooling:vac:lsp` - Allows to restart nimsuggest per file basis https://github.com/nim-lang/langserver/pull/235 - Expands how cancellable requests work #236 https://github.com/nim-lang/langserver/pull/236 - adds a tick function and adds more information into PendingRequests #237 https://github.com/nim-lang/langserver/pull/237 - Refactor so it doesnt pass around Future[NimSuggest] around but Project. #238 https://github.com/nim-lang/langserver/pull/238 - Adds ProjectErrors into Status so the extension can show nimsuggest crashes in the extension panel #240 https://github.com/nim-lang/langserver/pull/240 - Adds formatting support when nph is in path #241 https://github.com/nim-lang/langserver/pull/241 - `tooling:vac:editor` - Allows to restart nimsuggest per file basis https://github.com/nim-lang/vscode-nim/pull/102 - Implements the pending requests panel https://github.com/nim-lang/vscode-nim/pull/10 ### vac:rfc: - `codex:specs-init` - worked on codex erasue coding rfc, still work in progress (Jimmy) - Reviewed marketplace rfc to provide feedback, work still in progress (jimmy) ### vac:dr: - `admin/misc` - continue work on ZK notions page - Made requested changes to [Fiat-Shamir blog](https://github.com/vacp2p/vac.dev/pull/147) - Work on document outlining Codex tasks for new ACZ zk engineer. - `zk:codex:zk-consulting` - Began reading [Epistle](https://eprint.iacr.org/2024/872.pdf): elastic version of Plon ### vac:nes: - `state-separation:vac:state-separation-architecture-01` - Added different [case scenarios](https://www.notion.so/NSSA-Sandbox-scenarios-to-test-10a8f96fb65c8041ac99ce028ea0494f) for different types of executions to be used for testing. [Moudy] - Looked into different components mostly interaction between VM and ZKVM. [Moudy] - Researched existing node implementation projects. [Moudy] - Study on the private kernel circuit specs. [Ugur][ACZ] - Finish [document](https://hackmd.io/wUzyA2yGSBeeuhVzLqK5Ww?view) on membership/non-membership proofs for sparse Merkle trees. [Marvin][DR] - Began studying recursive circuit. [Marvin][DR] - `zkvm:vac:vm-foundations` - Meeting with Oleksandr on node components. [Rostyslav + Oleksandr] - Checked on recursiveness requirements on zkVMs. [Rostyslav] - Looked through dependencies from the architecture and node architecture doc. [Rostyslav + Oleksandr] - Checked appropriate data structures for storage. [Oleksandr] - Checked serialization methods. [Oleksandr] - Defined processes distribution of components. [Oleksandr] - Worked of finishing follow-up blogpost with Zkvms testing results and conclusion. [Moudy]