mirror of https://github.com/waku-org/js-waku.git
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:
parent
d464af3645
commit
33a9172bbb
|
@ -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:
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue