<html><head><title>2024-02-05 Vac weekly</title><metacharSet="utf-8"/><metaname="viewport"content="width=device-width, initial-scale=1.0"/><metaproperty="og:title"content="2024-02-05 Vac weekly"/><metaproperty="og:description"content="Vac 2024/02/05 § vac:p2p: § nimlibp2p:vac:webrtc-transport Fix a bug in Datachannel.read (reading the last message received instead of the first one) Fix a bug due to an Sctp delay (set it to 0ms was the solution) Find a bug in the conception of WebRTCStream."/><metaproperty="og:image"content="https://roadmap.logos.co/static/og-image.png"/><metaproperty="og:width"content="1200"/><metaproperty="og:height"content="675"/><linkrel="icon"href="../../static/icon.png"/><metaname="description"content="Vac 2024/02/05 § vac:p2p: § nimlibp2p:vac:webrtc-transport Fix a bug in Datachannel.read (reading the last message received instead of the first one) Fix a bug due to an Sctp delay (set it to 0ms was the solution) Find a bug in the conception of WebRTCStream."/><metaname="generator"content="Quartz"/><linkrel="preconnect"href="https://fonts.googleapis.com"/><linkrel="preconnect"href="https://fonts.gstatic.com"/><linkhref="../../index.css"rel="stylesheet"type="text/css"spa-preserve/><linkhref="https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"rel="stylesheet"type="text/css"spa-preserve/><linkhref="https://fonts.googleapis.com/css2?family=IBM Plex Mono&family=sans-serif:wght@400;700&family=sans-serif:ital,wght@0,400;0,600;1,400;1,600&display=swap"rel="stylesheet"type="text/css"spa-preserve/><scriptsrc="../../prescript.js"type="application/javascript"spa-preserve></script><scripttype="application/javascript"spa-preserve>constfetchData=fetch(`../../static/contentIndex.json`).then(data=>data.json())</script></head><bodydata-slug="vac/updates/2024-02-05"><divid="quartz-root"class="page"><divid="quartz-body"><divclass="left sidebar"><h1class="page-title "><ahref="../..">Logos Collective Project Roadmaps</a></h1><divclass="spacer mobile-only"></div><divclass="search "><divid="search-icon"><p>Search</p><div></div><svgtabIndex="0"aria-labelledby="title desc"role="img"xmlns="http://www.w3.org/2000/svg"viewBox="0 0 19.9 19.7"><titleid="title">Search</title><descid="desc">Search</desc><gclass="search-path"fill="none"><pathstroke-linecap="square"d="M18.5 18.3l-5.4-5.4"></path><circlecx="8"cy="8"r="7"></circle></g></svg></div><divid="search-container"><divid="search-space"><inputautocomplete="off"id="search-bar"name="search"type="text"aria-label="Search for something"placeholder="Search for something"/><divid="results-container"></div></div></div></div><divclass="darkmode "><inputclass="toggle"id="darkmode-toggle"type="checkbox"tabIndex="-1"/><labelid="toggle-label-light"for="darkmode-toggle"tabIndex="-1"><svgxmlns="http://www.w3.org/2000/svg"xmlnsXlink="http://www.w3.org/1999/xlink"version="1.1"id="dayIcon"x="0px"y="0px"viewBox="0 0 35 35"style="enable-background:new 0 0 35 35;"xmlSpace="preserve"><title>Light mode</title><pathd="M6,17.5C6,16.672,5.328,16,4.5,16h-3C0.672,16,0,16.672,0,17.5S0.672,19,1.5,19h3C5.328,19,6,18.328,6,17.5zM7.5,26c-0.414,0-0.789,0.168-1.061,0.439l-2,2C4.168,28.711,4,29.086,4,29.5C4,30.328,4.671,31,5.5,31c0.414,0,0.789-0.168,1.06-0.44l2-2C8.832,28.289,9,27.914,9,27.5C9,26.672,8.329,26,7.5,26zM17.5,6C18.329,6,19,5.328,19,4.5v-3C19,0.672,18.329,0,17.5,0S16,0.672,16,1.5v3C16,5.328,16.671,6,17.5,6zM27.5,9c0.414,0,0.789-0.168,1.06-0.439l2-2C30.832,6.289,31,5.914,31,5.5C31,4.672,30.329,4,29.5,4c-0.414,0-0.789,0.168-1.061,0.44l-2,2C26.168,6.711,26,7.086,26,7.5C26,8.328,26.671,9,27.5,9zM6.439,8.561C6.711,8.832,7.086,9,7.5,9C8.328,9,9,8.328,9,7.5c0-0.414-0.168-0.789-0.439-1.061l-2-2C6.289,4.168,5.914,4,5.5,4C4.672,4,4,4.672,4,5.5c0,0.414,0.168,0.789,0.439,1.06L6.439,8.561zM33.5,16h-3c-0.828,0-1.5,0.672-1.5,1.5s0.672,1.5,1.5,1.5h3c0.828,0,1.5-0.672,1.5-1.5S34.328,16,33.5,16zM28.561,26.439C28.289,26.168,27.914,26,27.5,26c-0.828,0-1.5,0.672-1.5
<li>feat: make relayed messages non priority (don’t use an explicit queue for priority msgs) - <ahref="https://github.com/status-im/nim-libp2p/pull/1015"class="external">https://github.com/status-im/nim-libp2p/pull/1015</a></li>
<li>feat: drop msgs to be relayed waiting for too long in the queue - <ahref="https://github.com/status-im/nim-libp2p/pull/1015"class="external">https://github.com/status-im/nim-libp2p/pull/1015</a></li>
<li>Try to get a stable nim-libp2p version for simulations. Investigated with Alex about building issues with nimble.</li>
<li>Analized libp2p metrics, everything normal so far</li>
<li>call with p2p team</li>
<li>Scale testing for 10K project
<ul>
<li>setup go-waku experiment at scale</li>
<li>Successfully simulated a 2,150 node simulation and gathered some basic metrics</li>
<li>Modified Kubernetes to allow for more pods to allow for (in theory) scaling to 10k+</li>
<li>Failed simulations at 10000 and 5000 nodes - current limits seem to be around ~4800 or so</li>
<li>Prometheus is a definite bottleneck - need to switch to a scaled/sharded Prometheus/<em><strong>Thanos</strong></em> setup</li>
<li>Attempting one last simulation over the weekend at 4200 nodes</li>
</ul>
</li>
<li>Diagnosing 10K project bottlenecks
<ul>
<li>Identified a major potential bottleneck in the form of control plane traffic going over Wireguard / large packet load over WG causing swarm collapse</li>
<li>will test the new theory later by re-deploying on Vac Kubernetes with a local control plane + local traffic (while still complying with infra team requirements)</li>
<li>Relayed messages reach recently started peer with a big <ahref="https://github.com/waku-org/nwaku/issues/2388"class="external">delay</a>(@Florin)</li>
<li>RLN registration <ahref="https://github.com/waku-org/waku-interop-tests/pull/16"class="external">support and tests</a>(@Roman)</li>
<li>Reviewed remaining work and added <ahref="https://www.notion.so/57c29e9604ed400baadf5f76a8c57ea3?v=485765aa457a4961b163e94bd37b8063&pvs=4"class="external">summary</a> and <ahref="https://www.notion.so/Go-Waku-Unit-Testing-cfc028caf8374d8681f2005cc54a5fb5?pvs=4"class="external">approach</a>(@Roman)</li>
<li>Clean and work with Gabriel to verify <ahref="https://github.com/waku-org/nwaku/pull/2356"class="external">fix</a>(@Alex)</li>
<li>Review lighpush fixes and <ahref="https://github.com/waku-org/nwaku/pull/2269"class="external">adjust unit tests</a>(@Alex)
<ul>
<li>Learned how to generate coverage report for NWaku and prepared small PR to have a <ahref="https://github.com/waku-org/nwaku/pull/2382"class="external">shortcut</a>(@Roman)</li>
<li>rln-v1 to v2 commitment migrator: <ahref="https://github.com/waku-org/waku-rln-contract/pull/11/commits/886891b57ae54e439563023dd50161fec5ee29f1"class="external">https://github.com/waku-org/waku-rln-contract/pull/11/commits/886891b57ae54e439563023dd50161fec5ee29f1</a></li>
<li>use rln-v2 contract in nwaku: <ahref="https://github.com/waku-org/nwaku/pull/2381"class="external">https://github.com/waku-org/nwaku/pull/2381</a></li>
<li>update c ffi bindings and serde in nwaku: <ahref="https://github.com/waku-org/nwaku/pull/2385"class="external">https://github.com/waku-org/nwaku/pull/2385</a> (issues: <ahref="https://github.com/waku-org/nwaku/issues/2378"class="external">https://github.com/waku-org/nwaku/issues/2378</a> and <ahref="https://github.com/waku-org/nwaku/issues/2377"class="external">https://github.com/waku-org/nwaku/issues/2377</a>)</li>
<li>use rln-v2 in registration and membership insertion mechanism: <ahref="https://github.com/waku-org/nwaku/pull/2392"class="external">https://github.com/waku-org/nwaku/pull/2392</a> (wip)</li>
<li>RFC updating, following comments and suggestions.</li>
<li>Discussion of use cases for the secure messaging protocol</li>
<li>Search and investigate existing secure messaging apps</li>
</ul>
</li>
<li><code>zerokit:vac:maintenance</code>
<ul>
<li>worked on a workaround for this issue <ahref="https://github.com/vacp2p/zerokit/issues/55"class="external">https://github.com/vacp2p/zerokit/issues/55</a></li>
<li>Working on solutions for Staking Contact issues <ahref="https://notes.status.im/lNd8kcVmQEWcDYEldpl26Q"class="external">https://notes.status.im/lNd8kcVmQEWcDYEldpl26Q</a></li>
<li>Completed research on SE and DE focusing on security issues while combining both models (Moudy)</li>
<li>Rewrote a <ahref="https://www.notion.so/Nescience-cd358fe429b14fa2ab38ca42835a8451?pvs=4#f47efa2d1f704414b6284c4bd261228d"class="external">full version</a> of state update proposal for security and privacy threats (Moudy)</li>
<li>Researched address hiding and signature verification and wrote a proposal for <ahref="https://www.notion.so/Nescience-cd358fe429b14fa2ab38ca42835a8451?pvs=4#9ab4ba4d92914ba0a5f66235446de5d1"class="external">address hiding and signature verification</a> (Marvin)</li>
<li>Added a <ahref="https://www.notion.so/Nescience-cd358fe429b14fa2ab38ca42835a8451?pvs=4#ff43eca4e39b4a4ea171743c691469de"class="external">report</a> about the security issue and a possible solution(salt mechanism) and investigated about the security of the SE/DE (Ugur)</li>
<li>worked on rfc-index adding rest of rfc, fixing links, and chaging headers - <ahref="https://github.com/vacp2p/rfc-index/pull/1"class="external">https://github.com/vacp2p/rfc-index/pull/1</a></li>
<li>worked on waku/specs adding rfcs - <ahref="https://github.com/waku-org/specs/tree/waku-RFC"class="external">https://github.com/waku-org/specs/tree/waku-RFC</a></li>