---
title: "2024-05-27 Vac weekly"
tags:
  - "vac-updates"
date: 2024-05-27
lastmod: 2024-05-27
draft: false
---

## Vac 2024/05/27

### vac:p2p:
- `nimlibp2p:vac:webrtc-transport`
  - Stun protocol: merged :tada: https://github.com/status-im/nim-webrtc/pull/9
    - Rework getAttribute
    - Add callbacks for username & password
    - Address Diego's comments
- `nimlibp2p:vac:maintenance`
  - add wildcard address resolver PR review https://github.com/vacp2p/nim-libp2p/pull/1099
  - set EoF when remote peer half closes the stream in yamux review https://github.com/vacp2p/nim-libp2p/pull/1086
  - finished and merged https://github.com/vacp2p/nim-libp2p/pull/1086
  - improved https://github.com/vacp2p/nim-libp2p/pull/1099
  - PR reviews

### vac:tke:
- `admin`
  - 1 CC day off
- `codex:cdx`
  - finalized the TKE part of Whitepaper (Frederico)
  - Improved code for Codex ABM, now at a better state, ready to start testing (Juan)
  - initial steps towards experimental design to simulate CDX security<>demand/supply & price (Juan)
  - Quick reviewed Filecoin report (Juan)
- `nomos:cryptarchia-wealth-concentration-known-stake`
  - continued the restructure of the previous work under a newly defined strategy (Frederico)
- `status:L2-deployment`
  - reviewed the SN economy proposal (Frederico)
  - Drafting first docs on the economic model and identifying missing pieces, iterating on this with Cyp (Martin)
- `waku:rln-membership`
  - Reviewing existing research into RLN and compatibility with the new design (Martin)
  - Reviewed RLN documents. (Juan)
- `status:SNT-staking` 
  - reviewed the swap aggregator work (Frederico)
  - Reviewing Juan's work on swaps (Martin)
  - Finished document on swap aggregator (Juan)
  - performed additional experiment on time window vs fulfilment (Juan)

### vac:dst:
- `vac:dst:deployment-and-analysis:waku:midscale`
    - Repeat simulations with waku v0.27
        - Found, documented potential Waku regression
        - Created bandwidth plots with weird results
    - Changes to publisher
        - PR https://github.com/vacp2p/10ksim/pull/30
    - Re-doing requested deployments
- `vac:dst:tooling:vac:visualiser-tool`
    - Some PRs:
        - [First visualizer simple PR](https://github.com/vacp2p/10ksim/pull/25)
        - Found issue where simulation data is stored incorrectly.
            - [PR](https://github.com/vacp2p/10ksim/pull/26) to check for this
        - [PR](https://github.com/vacp2p/10ksim/pull/27): Improved querying to get multiple simulation times at once 
        - [PR](https://github.com/vacp2p/10ksim/pull/28): Add parameter for selecting how many datapoints we want in the plots
        - [PR](https://github.com/vacp2p/10ksim/pull/29): Rebase Wings deploy yamls into master

### vac:qa:
- `waku:interop-testing`
	- store v3 - [added 70 tests so far](https://github.com/waku-org/waku-interop-tests/pull/38)(@Florin)
	- 9 store v3 issues found:(@Florin)
		- store v3 returns error [waku message hash parsing error: Incorrect base64 string](https://github.com/waku-org/nwaku/issues/2715) for some cursors 
		- passing a cursor that doesn't correspond to any message in the store will [return all messages](https://github.com/waku-org/nwaku/issues/2716)
		- nwaku crashes for a store v3 request with [invalid cursor format](https://github.com/waku-org/nwaku/issues/2717)
		- store v3 local queries [time out](https://github.com/waku-org/go-waku/issues/1106)
		- store v3 response [format issues](https://github.com/waku-org/nwaku/issues/2719)
		- standardize store types by using camel case instead of [snake case]7(https://github.com/waku-org/go-waku/issues/1107)
		- pubsubTopic and contentTopics are required for store v3 [requests](https://github.com/waku-org/go-waku/issues/1108)
		- store v3 returns error [illegal base64 data at input byte](https://github.com/waku-org/go-waku/issues/1109)
		- store v3 - passing a cursor that doesn't correspond to any message in the store will [return all messages](https://github.com/waku-org/go-waku/issues/1110)
	- update all response fields to be [camelCase](https://github.com/waku-org/waku-interop-tests/pull/40)(@Florin)
	- small fix for ligh push [dial fail error](https://github.com/waku-org/waku-interop-tests/pull/43)(@Florin)
- `nomos:test-automation-cryptarchia`
    - Read Nomos ocumentation and related papers(@Alex)
    - Delve into codebase to understand structure(@Alex)
    - Working in fixing coverage(@Alex)
        - [PR](https://github.com/logos-co/nomos-node/pull/653)
        - [Helper PR](https://github.com/logos-co/nomos-node/pull/654)
- `admin/misc`
	- Interview and reviewed QA Candidate code challenge(@Florin)
	- 1CC OOO All week

### vac:acz:
- `secure-channels:waku:mls-design`
    - Created authentication and login document for MLS design in [notion](https://www.notion.so/A-Proposal-on-Decentralized-Authentication-and-Login-Mechanism-for-mls-poc-ea5337c383a341a5a796dad85284a1dd?pvs=4)
- `zerokit:vac:zerokit-v0.5`
    - Fix json serialization and update tests [PR](https://github.com/vacp2p/zerokit/pull/253)
    - Published [release v0.5 on github](https://github.com/vacp2p/zerokit/releases/tag/v0.5.0)
    - [released on crates.io](https://crates.io/crates/rln)
- `rlnp2p:waku:rlnv2-e2e`
    - Deprecated [waku-rln-contract](https://github.com/waku-org/waku-rlnv1-contract) in favour of [waku-rlnv2-contract](https://github.com/waku-org/waku-rlnv2-contract) which uses vacp2p/foundry template directly instead of inheriting from vacp2p/rln-contract due to evolving business case and divergence from base offering of vacp2p/rln-contract
    - [Reduced gas usage for waku-rlnv2-contract](https://github.com/waku-org/waku-rlnv2-contract/pull/4) with onchain root from 250k gas to 104k gas for most insertions, some insertions vary depending on the leaf index due to recalculation of the merkle tree cache (anywhere between 150k-230k). still acceptable.
    - [Added test vectors](https://github.com/waku-org/waku-rlnv2-contract/pull/5) with kats from zerokit
    - Deployed on [sepolia](https://sepolia.etherscan.io/address/0x06500e81d88b9a6b7dcd0b4ee9fed4f581b4bb0d) for accurate gas measurements
- `stealth-address-kit:vac:maintenance`
	- [feat(curves): integrate bw6_761](https://github.com/vacp2p/stealth-address-kit/pull/9)
	- [chore(curves): simplify integration of new curves](https://github.com/vacp2p/stealth-address-kit/pull/8)
	- [chore(StealthAddressOnCurve): refactor common utilities and traits](https://github.com/vacp2p/stealth-address-kit/pull/7)
	- [feat(curves): add pallas & vesta](https://github.com/vacp2p/stealth-address-kit/pull/6)
	- [chore(release): v0.1.0](https://github.com/vacp2p/stealth-address-kit/releases/tag/v0.1.0) and released on [crates.io](https://crates.io/crates/stealth_address_kit)
	- [feat(curves): add secp256r1](https://github.com/vacp2p/stealth-address-kit/pull/4)
	- [feat(curves): add secp256k1](https://github.com/vacp2p/stealth-address-kit/pull/3)

### vac:sc::
- `vac:maintenance/misc`
    - Updated ENS Usernames to allow custom release delay on deploy https://github.com/status-im/ens-usernames/pull/128
    - Migrated ENS Usernames in Sepolia with 600 seconds of release delay on 0x3174DceF2649Ef7D3585cFC52d45586cF0d0dC90 
    - WIP: ENS usernames migrate to forge 
    - research on Zodiac contracts and Safe modules
    - Researched proxy patterns
        - Transparent proxies
        - UUPSUpgradables
    - Interviewed first candidate

### vac:nim:
- `tooling:vac:nimble`
	- Add supports for nimDir flag. See the comment in the PR https://github.com/nim-lang/nimble/pull/1221
	- Fixed an issue where nim bin was wrongly constructed on win
- `tooling:vac:lsp`
     - use `nimDir` when available https://github.com/nim-lang/langserver/pull/200
 - `tooling:vac:compiler`
    - nimcheck issue on win (https://github.com/nim-lang/Nim/issues/23624) Fix needs to be reworked
	- Backport nimble sat to 2.0 and 1.6 https://github.com/nim-lang/Nim/pull/23643 https://github.com/nim-lang/Nim/pull/23644

### vac:rfc:
- `codex:specs-init`
    - Had sync meeting with marketplace team on Thursday
    - Updated marketplace rfc, need to make changes based on feedback - https://github.com/vacp2p/rfc-index/pull/36
- `nomos:specs-init`
    - Worked on data availibility rfc, need more time to finish rough draft
- `admin/misc`
    - Opened discussion for rln-v1 move to draft, and recieved feedback - https://github.com/vacp2p/rfc-index/pull/40
    - created pr on waku/specs to end move to draft update for WAKU/METADATA and WAKU/NETWORK - https://github.com/waku-org/specs/pull/15; https://github.com/waku-org/specs/pull/16

### vac:dr:
- `gsub-scaling:vac:gossipsub-simulation`
  - Conducted simulations results/code analysis for [staggered message sending PR](https://github.com/vacp2p/nim-libp2p/pull/1100)   
  - Identified one [potential issue](https://github.com/vacp2p/nim-libp2p/issues/1101) related to IHAVE/IWANT messages.
  - Looked into GossipSub specifications and other libp2p (go and rust) implementations for IHAVE/IWANT message flows  
- `vac:admin`
  - Finished presentation for Logos Research call
  - Finished BloomFilter [blog draft](https://hackmd.io/@-CvgMMUrRhC2aJOVst_GAw/r1yTju9GR).
  - Focus on Nescience
- `vac:dr:anon:vac:gossipsub-anonymity`
  - Addressed Marvin's comments on anonymity layer notes.
  - Worked [Anonymity Layer](https://www.notion.so/Anonymity-Layer-Wip-cbcbcd6067b347bb812041bce9c110ce) - WiP.
  - Met with Youngjoon to understand the practical considerations in designing anonymous communication for Nomos.

### vac:nes:
- `state-separation:vac:state-separation-architecture-01`
    - Additional reviews of the architecuture of state separation. (Moudy)
    - Work on the input and outputs in the aggregation circuit for the state-separation prototype. (Ugur)[ACZ]
- `virtual-machine-creation:vac:vm-foundations`
    - Worked on the list of ZkVMs. Mainly covered: ZkMove, ZkWasm, PiecrustVM. (Moudy)
    - Worked on zkVM list. Covered: NovaNet, zkLLVM, Lurk. (Rostyslav)
    - Worked on zkVM list. Mainly covered: Ceno, Ola, Valida, RISC-0.(Marvin)[DR]
    - Worked on zkVM list. Mainly covered: SP1, Powdr, Miden, and zkOS. (Ugur)[ACZ]

