--- title: "2023-08-21 Vac weekly" tags: - "vac-updates" date: 2023-08-21 lastmod: 2023-08-21 draft: false --- Vac Milestones: https://www.notion.so/Vac-Roadmap-907df7eeac464143b00c6f49a20bb632 Vac Github Repos: https://www.notion.so/Vac-Repositories-75f7feb3861048f897f0fe95ead08b06 # **Vac week 34** August 21th ## *vsu::P2P* - `vac:p2p:nim-libp2p:vac:maintenance` - Test-plans for the perf protocol (99%: need to find why the executable doesn't work) https://github.com/libp2p/test-plans/pull/262 - WebRTC: Merge all protocols (60%: slowed down by some complications and bad planning with Mbed-TLS) https://github.com/status-im/nim-webrtc/pull/3 - WebRTC: DataChannel (25%) ## *vsu::Tokenomics* - admin/misc: - (3 CC days off) - `vac:tke::codex:economic-analysis` - Call w/ Codex on token incentives, business analysis of Filecoin - `vac:tke::status:SNT-staking` - Bug fixes for tests for the contracts - `vac:tke::nomos:economic-analysis` - Narrowed focus to: 1) quantifying bribery attacks, 2) assessing how to min risks and max privacy of delegated staking - `vac:tke::waku:economic-analysis` - Caught up w/ Waku team on RLN, adopting a proactive effort to pitch them solutions ## *vsu::Distributed Systems Testing (DST)* - `vac:dst:wakurtosis:vac:rlog` - Pushed second draft and figures (https://github.com/vacp2p/vac.dev/tree/DST-Wakurtosis) - `vac:dst:shadow:vac:basic-shadow-simulation` - Run 10K simulation of basic gossipsub node - `vac:dst:gsub-model:status:control-messages` - Got access to status superset - `vac:dst:analysis:nomos:nomos-simulation-analysis` - Basic CLI done, json to csv, can handle 10k nodes - `vac:dst:wakurtosis:waku:topology-analysis` - Collection + analysis: now supports all waku protocols, along with relay - Cannot get gossip-sub peerage from waku or prometheus (working on getting info from gossipsub layer) - `vac:dst:wakurtosis:waku:techreport_02` - Merged 4 pending PRs; master now supports regular graphs - `vac:dst:eng:vac:bundle-simulation-data` - Run 1 and 10 rate simulations. 100 still being run - `vac:dst:10ksim:vac:10ksim-bandwidth-test` - Working on split the structure of codex tool; Working on diagrams also ## *vsu:Smart Contracts (SC)* - `vac:sc::status:community-contracts-ERC721` - delivered (will need maintenance and adding features as requested in the future) - `vac:sc::status:community-contracts-ERC20` - started working on ERC20 contracts - `vac:sc::vac:secureum-upskilling` - Secureum: Finished Epoch 0, Slot 4 and 5 - Deep dive on First Depositor/Inflation attacks - Learned about Minimal Proxy Contract pattern - More Uniswap V2 protocol reading - `vac:sc::vac:maintainance/misc` - Worked on moving community dapp contracts to new foundry-template ## *vsu:Applied Cryptogarphy & ZK (ACZ)* - `vac:acz:rlnp2p:waku:rln-relay-enhancments` - rpc handler for waku rln relay - https://github.com/waku-org/nwaku/pull/1852 - fixed ganache's change in method to manage subprocesses, fixed timeouts related to it - https://github.com/waku-org/nwaku/pull/1913 - should error out on rln-relay mount failure - https://github.com/waku-org/nwaku/pull/1904 - fixed invalid start index being used in rln-relay - https://github.com/waku-org/nwaku/pull/1915 - constrain the values that can be used as idCommitments in the rln-contract - https://github.com/vacp2p/rln-contract/pull/26 - assist with waku-simulator testing - remove registration capabilities from nwaku, it should be done out of band - https://github.com/waku-org/nwaku/pull/1916 - add `deployedBlockNumber` to the rln-contract for ease of fetching events from the client - https://github.com/vacp2p/rln-contract/pull/27 - `vac:acz:zerokit:vac:maintenance` - exposed `seq_atomic_operation` ffi api to allow users to make use of the current index without making multiple ffi calls - https://github.com/vacp2p/zerokit/pull/206 - use pmtree instead of vacp2p_pmtree now that changes have been upstreamed - https://github.com/vacp2p/zerokit/pull/203 - Prepared a PR to fix a stopgap introduces by PR 201 https://github.com/vacp2p/zerokit/pull/207 - PR review https://github.com/vacp2p/zerokit/pull/202, https://github.com/vacp2p/zerokit/pull/206 - `vac:acz:zerokit:vac:zerokit-v0.4` - substitute id_commitments for rate_commitments and update tests in rln-v2 - https://github.com/vacp2p/zerokit/pull/205 - rln-v2 working branch - https://github.com/vacp2p/zerokit/pull/204 - misc research while ooo: - stealth commitment scheme inspired by erc-5564 - https://github.com/rymnc/erc-5564-bn254, associated circuit - https://github.com/rymnc/circom-rln-erc5564 (very heavy on the constraints) ## *vip::zkVM* - `vac:zkvm::vac:research-existing-proof-systems` - Updated the Nova questions document (https://www.notion.so/zkVM-cd358fe429b14fa2ab38ca42835a8451 -> Projects -> Nova_Research_Answers.pdf) - Researched ProtoStar and Nova aleternatives - `vac:zkvm::vac:proof-system-benchmarks` - Drafted the Nova Benchamarks document (https://www.notion.so/zkVM-cd358fe429b14fa2ab38ca42835a8451 -> Projects -> Benchmarks.pdf) - Researched hash functions - Researched benchmarks ## *vc::Deep Research* - `vac:dr:valpriv:vac:tor-push-poc` - Reimplemented torpush without any gossip sharing - Added discovering peers for torpush in every epoch/10 minutes - torswitch directly pushes messages to separately identified peers - `vac:dr:valpriv:vac:tor-push-relwork` - added quantified measures related to privacy in the paper section - `vac:dr:gsub-scaling:vac:gossipsub-improvements-tech-report` - Explored different unstructured p2p application architectuture - Studied literature on better bandwidth utilization in unstructured p2p networks. - `vac:dr:gsub-scaling:vac:gossipsub-simulation` - Worked on GossibSup simulation in shadow simulator. Tried understanding different libp2p functions - Created short awk scripts for analyzing results. - `vac:dr:consensus:nomos:carnot-bribery-article` - Continue work on the article on bribery attacks, PoS and Carnot - Completed presentation about the bribery attacks and Carnot - `vac:dr:consensus:nomos:carnot-paper` - Discussed Carnot tests and results with Nomos team. Some adjustment to the parameters needed to be made to accurate results.