--- title: 2024-08-12 Waku Weekly tags: - waku-updates date: 2024-08-12 --- ## [Milestone - Store Service Upgrade](https://github.com/waku-org/pm/milestone/28) - [Store v3-beta - Message Hashes](https://github.com/waku-org/pm/issues/131) - achieved: - [js-waku] [feat!: store v3](https://github.com/waku-org/js-waku/pull/2036) - [PostgreSQL Maintenance](https://github.com/waku-org/pm/issues/119) - achieved: - [nwaku] PR almost merged with optimizations in messageHash queries through lookup table [chore: Optimize hash queries with lookup table](https://github.com/waku-org/nwaku/pull/2933) - [nwaku] submitted PR in infra-status to fine-tune the Postgres settings after having increased the hw specs [store-db add more appropriate db settings for current db hw](https://github.com/status-im/infra-status/pull/37) - [Store v3 - store synchronisation](https://github.com/waku-org/pm/issues/132) - achieved: - [nwaku] PR review WIP to add Waku Sync [feat: Nwaku Sync](https://github.com/waku-org/nwaku/pull/2403) ## [Milestone - Direct Message Reliability](https://github.com/waku-org/pm/milestone/29) - [Tooling: filter and light push protocols](https://github.com/waku-org/pm/issues/178) - achieved: - [nwaku] Started using liteprotocoltester tool to send lightpush msgs from a node located in Frankfurt and receiving through waku-filter in a node located in Sydney. Both are connected to one node in status.prod fleet. - [nwaku] liteprotocoltester tool helped to discover duplicated messages problem - next: - [nwaku] carry on with duplicated messages issue - [Telemetry: direct message reliability](https://github.com/waku-org/pm/issues/182) - achieved: - [chat] report peer id and number of connection failures to telemetry [feat(telemetry)_: send connection failure metric](https://github.com/status-im/status-go/pull/5518), [feat: handle metric for peer connection failure](https://github.com/status-im/telemetry/pull/27) - [Reliability Protocol for Relay](https://github.com/waku-org/pm/issues/184) - achieved: - [nwaku] Development of subscription awareness for delivery_monitor module [feat: enhance reliability thanks to StoreV3](https://github.com/waku-org/nwaku/issues/2819) - [Reliability Protocol for Resource-Restricted Clients](https://github.com/waku-org/pm/issues/186) - achieved: - [nwaku] ongoing implementation in nwaku [feat: Enhance lightpush protocol error handling](https://github.com/waku-org/nwaku/issues/2722) - [js-waku] filter API refactor for ease and DX: [feat(filter)!: new simpler filter API](https://github.com/waku-org/js-waku/pull/2092) - [Review MVDS usage and fail path](https://github.com/waku-org/pm/issues/189) - achieved: - [chat] bump mvds for clearing old states [chore_: bump mvds](https://github.com/status-im/status-go/pull/5623) ## [Milestone - End-to-end reliability protocol](https://github.com/waku-org/pm/milestone/30) - [End-to-end reliability protocol - PoC](https://github.com/waku-org/pm/issues/193) - achieved: - [research] peer retrieval of missing messages, reconnect capability for tests, conflict resolution; and raised a final PR for POC - next: - [research] address review comments, dogfooding ## [Milestone - Static Sharding - dedicated shards](https://github.com/waku-org/pm/milestone/31) - [Sharding peer management and discovery hardening](https://github.com/waku-org/pm/issues/172) - achieved: - [nwaku] Continued investigating [bug: node getting stuck and missing messages](https://github.com/waku-org/nwaku/issues/2921) - [nwaku] Found “Futures” leak in `yamux` and confirmed that it doesn’t happen on `mplex`. Opened an issue in `nim-libp2p` [bug: yamux Futures leak](https://github.com/vacp2p/nim-libp2p/issues/1165) and a PR in `nwaku` switching back to `mplex` [chore: using mplex instead of yamux](https://github.com/waku-org/nwaku/pull/2958) - [nwaku] Got feedback from `Nimbus` and new potential ways to debug [bug: node getting stuck and missing messages](https://github.com/waku-org/nwaku/issues/2921) - [nwaku] Completed [bug: Node accepts connections when configured for just discovery](https://github.com/waku-org/nwaku/issues/2892), optimizing the connection management of discv5-only nodes - [research] libp2p rendezvous wrapper impl. at the waku layer - next: - [nwaku] Try the recommended debugging techniques - [research] namespace definition, discovery strategy ## [Milestone - Scale 1:1 chat messages PoC](https://github.com/waku-org/pm/milestone/34) - [Maturing RLN variables/parameters revision](https://github.com/waku-org/pm/issues/205) - achieved: - [research] raw spec PR for RLN contract mainnet deployment: [Add WAKU2-RLN-CONTRACT spec for mainnet deployment](https://github.com/waku-org/specs/pull/30/) - next: - [research] continue the discussion around the PR, finalize the initial version of the spec - [Pay for RLN provision first PoC](https://github.com/waku-org/pm/issues/207) - achieved: - [research] PoC with a paymaster in zksync, written in golang - next: - [research] continue work with paymaster to sponsor tx fees in zksync - blockers: - [research] lots of issues deploying rln to zksync ## Other Work ### Enhancements - achieved: - [nwaku] upgraded the peer exchange mounting procedure - chore: upgrade peer exchange mounting](https://github.com/waku-org/nwaku/pull/2953) - [nwaku] Successfully reproduced the PR exchange issue - [bug: failed to retrieve peer info via peer exchange protocol](https://github.com/waku-org/nwaku/issues/2875) - [nwaku] Made progress on testing tools - [test: peer exchange testing tool](https://github.com/waku-org/nwaku/pull/2940) - [chat] refactor: move rate limiter and priority queue from status-go to API package [refactor: move rate limiter and priority queue from status-go to api package](https://github.com/waku-org/go-waku/pull/1171) - [chat] [refactor: move missing messages logic from status-go to go-waku](https://github.com/waku-org/go-waku/pull/1174), [refactor: extract missing messages logic to go-waku](https://github.com/status-im/status-go/pull/5638) - [chat] [refactor: remove unused code from wakuv2](https://github.com/status-im/status-go/pull/5651) - next: - [nwaku] Resolve the PR exchange issue [bug: failed to retrieve peer info via peer exchange protocol](https://github.com/waku-org/nwaku/issues/2875) - [nwaku] Complete peer exchange testing tools [test: peer exchange testing tool](https://github.com/waku-org/nwaku/pull/2940) ### Bugs - achieved: - [nwaku] [fix: missing wakuv2 fields in createAccountRequest toJson func](https://github.com/status-im/status-desktop/pull/15876) - [chat] [fix: storenode multiaddresses](https://github.com/status-im/status-go/pull/5630) - [chat] [fix: handle scenario where the node's ENR has no shard (due to shard update)](https://github.com/waku-org/go-waku/pull/1176)