chore: upgrade nwaku to 0.31 (#2091)

* chore: upgrade nwaku to 0.31

* tests: fix tests by removing reliance on named sharding
This commit is contained in:
Danish Arora 2024-08-01 14:33:42 +05:30 committed by GitHub
parent d464af3645
commit 33a9172bbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 6 deletions

View File

@ -119,14 +119,14 @@ jobs:
uses: ./.github/workflows/test-node.yml
secrets: inherit
with:
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.29.0' }}
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.31.0' }}
test_type: node
allure_reports: true
node_optional:
uses: ./.github/workflows/test-node.yml
with:
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.29.0' }}
nim_wakunode_image: ${{ inputs.nim_wakunode_image || 'wakuorg/nwaku:v0.31.0' }}
test_type: node-optional
node_with_nwaku_master:

View File

@ -27,7 +27,7 @@ const WAKU_SERVICE_NODE_PARAMS =
const NODE_READY_LOG_LINE = "Node setup complete";
export const DOCKER_IMAGE_NAME =
process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.29.0";
process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.31.0";
const isGoWaku = DOCKER_IMAGE_NAME.includes("go-waku");

View File

@ -3,7 +3,7 @@ import { promisify } from "util";
const execAsync = promisify(exec);
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.29.0";
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.31.0";
async function main() {
try {

View File

@ -7,7 +7,7 @@ import { ServiceNode } from "../dist/lib/service_node.js";
const execAsync = promisify(exec);
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.29.0";
const WAKUNODE_IMAGE = process.env.WAKUNODE_IMAGE || "wakuorg/nwaku:v0.31.0";
const containerName = "rln_tree";
async function syncRlnTree() {

View File

@ -1,5 +1,6 @@
import { HealthStatus, LightNode, Protocols } from "@waku/interfaces";
import { createLightNode } from "@waku/sdk";
import { shardInfoToPubsubTopics } from "@waku/utils";
import { expect } from "chai";
import {
@ -94,7 +95,9 @@ async function runNodeWithProtocols(
await serviceNode.start({
lightpush: lightPush,
filter: filter,
relay: true
relay: true,
clusterId: TestShardInfo.clusterId,
pubsubTopic: shardInfoToPubsubTopics(TestShardInfo)
});
return serviceNode;
}