bump zombienet version (#2525)

* bump zombienet version

* fix para registration args
This commit is contained in:
Javier Viola
2023-05-05 19:53:16 -03:00
committed by GitHub
parent 1bddaae927
commit 0d04b8b47d
2 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ variables:
CI_IMAGE: "paritytech/ci-linux:production"
DOCKER_OS: "debian:stretch"
ARCH: "x86_64"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.43"
ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.50"
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.29"
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
+12 -1
View File
@@ -3,7 +3,18 @@ async function run(nodeName, networkInfo, args) {
const para = networkInfo.paras[paraIdStr];
const relayNode = networkInfo.relay[0];
await zombie.registerParachain(parseInt(paraIdStr,10),para.wasmPath, para.statePath, relayNode.wsUri, "//Alice", true);
const registerParachainOptions = {
id: parseInt(paraIdStr,10),
wasmPath: para.wasmPath,
statePath: para.statePath,
apiUrl: relayNode.wsUri,
onboardAsParachain: true,
seed: "//Alice",
finalization: true
};
await zombie.registerParachain(registerParachainOptions);
}
module.exports = { run }