Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
bump zombienet version (#2525)
* bump zombienet version

* fix para registration args
  • Loading branch information
pepoviola authored and EgorPopelyaev committed May 8, 2023
commit 2ecdc868a6633afc82feb1196b3ff382bffaa9eb
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 }