Skip to content

Commit f7306d5

Browse files
igor-sirotinclaude
andcommitted
test(functional): serve community shards 128 & 256 in the waku fleet
Old peers (v10.33.x) subscribe community channel filters on shards rs/16/128 and rs/16/256, but the test fleet only served shards 32 and 64. Those subscribes fail with 'no suitable peers found' and churn the light client's filter manager, collaterally destabilizing the shard-32 subscription that actually carries the community message -> the light receiver misses it and times out (flaky full-light / light-light compat cells against v10.33.2). Subscribe the fleet (boot-1 + store) to shards 128 and 256 as well, and bump --num-shards-in-network to 257 so those shards validate. This is a fleet-only change; the value is not propagated to the status-go backends (the fleet-config scanner only emits clusterId + node ENRs), so it does not affect how any backend derives shards. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6c01035 commit f7306d5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests-functional/docker-compose.waku.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ services:
2323
"--rest-admin",
2424
"--shard=32",
2525
"--shard=64",
26+
"--shard=128",
27+
"--shard=256",
2628
"--staticnode=/dns4/store/tcp/60002/p2p/16Uiu2HAmCDqxtfF1DwBqs7UJ4TgSnjoh6j1RtE1hhQxLLao84jLi",
2729
"--storenode=/dns4/store/tcp/60002/p2p/16Uiu2HAmCDqxtfF1DwBqs7UJ4TgSnjoh6j1RtE1hhQxLLao84jLi",
2830
"--tcp-port=60001",
29-
"--num-shards-in-network=65"
31+
"--num-shards-in-network=257"
3032
]
3133
depends_on:
3234
- store
@@ -62,12 +64,14 @@ services:
6264
"--rest-admin",
6365
"--shard=32",
6466
"--shard=64",
67+
"--shard=128",
68+
"--shard=256",
6569
"--staticnode=/dns4/boot-1/tcp/60001/p2p/16Uiu2HAm3vFYHkGRURyJ6F7bwDyzMLtPEuCg4DU89T7km2u8Fjyb",
6670
"--store=true",
6771
"--store-message-db-url=sqlite:////tmp/waku-store.sqlite3",
6872
"--store-message-retention-policy=time:86400",
6973
"--tcp-port=60002",
70-
"--num-shards-in-network=65"
74+
"--num-shards-in-network=257"
7175
]
7276
healthcheck:
7377
test: ["CMD-SHELL", "curl -X GET -H 'Content-Type: application/json' http://0.0.0.0:8645 || exit 0"]

0 commit comments

Comments
 (0)