Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
bump zombienet version (#2525)
Browse files Browse the repository at this point in the history
* bump zombienet version

* fix para registration args
  • Loading branch information
pepoviola authored and EgorPopelyaev committed May 8, 2023
1 parent 859911c commit 2ecdc86
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
13 changes: 12 additions & 1 deletion zombienet/tests/register-para.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit 2ecdc86

Please sign in to comment.