fixing test against nwaku nightly

This commit is contained in:
fryorcraken 2025-07-21 15:40:05 +10:00
parent 158f6ecf98
commit 77c694095d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 5 additions and 3 deletions

View File

@ -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,

View File

@ -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]);