From 77c694095dadeff4e80136d58a6f35d4aa330984 Mon Sep 17 00:00:00 2001 From: fryorcraken Date: Mon, 21 Jul 2025 15:40:05 +1000 Subject: [PATCH] fixing test against nwaku nightly --- packages/tests/tests/ephemeral.node.spec.ts | 3 ++- .../tests/filter/subscribe-static-sharding.node.spec.ts | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/tests/tests/ephemeral.node.spec.ts b/packages/tests/tests/ephemeral.node.spec.ts index 848162ca4b..a0cee19156 100644 --- a/packages/tests/tests/ephemeral.node.spec.ts +++ b/packages/tests/tests/ephemeral.node.spec.ts @@ -97,7 +97,8 @@ describe("Waku Message Ephemeral field", function () { store: true, relay: true, contentTopic: contentTopics, - clusterId: TestClusterId + clusterId: TestClusterId, + numShardsInNetwork: TestNetworkConfig.numShardsInCluster }); await nwaku.ensureSubscriptionsAutosharding([ TestContentTopic, diff --git a/packages/tests/tests/filter/subscribe-static-sharding.node.spec.ts b/packages/tests/tests/filter/subscribe-static-sharding.node.spec.ts index 17adf742ba..fa97915584 100644 --- a/packages/tests/tests/filter/subscribe-static-sharding.node.spec.ts +++ b/packages/tests/tests/filter/subscribe-static-sharding.node.spec.ts @@ -70,8 +70,9 @@ const runTests = (strictCheckNodes: boolean): void => { filter: true, lightpush: true, relay: true, - clusterId: TestClusterId, - shard: [shardId] + clusterId: staticNetworkConfig.clusterId, + shard: [shardId], + numShardsInNetwork: 0 // Running static sharding }); await waku.dial(await nwaku2.getMultiaddrWithId()); await waku.waitForPeers([Protocols.Filter, Protocols.LightPush]);