Skip to content

Commit

Permalink
Update zombienet config
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Oct 12, 2023
1 parent 1fdf412 commit ae3242f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion zombienet-config/rococo-local-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ cumulus_based = true

[parachains.collator]
name = "parachain-collator01"
command = "./target/release/parachain-template-node"
command = "./target/release/metaquity-network"
10 changes: 5 additions & 5 deletions zombienet.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

ZOMBIENET_V=v1.3.55
POLKADOT_V=v0.9.42
POLKADOT_V=v1.0.0

case "$(uname -s)" in
Linux*) MACHINE=Linux;;
Expand Down Expand Up @@ -43,19 +43,19 @@ zombienet_init() {

zombienet_spawn() {
zombienet_init
if [ ! -f target/release/parachain-template-node ]; then
echo "building parachain-template-node..."
if [ ! -f target/release/metaquity-network ]; then
echo "building metaquity-network..."
cargo build --release
fi
echo "spawning polkadot-local relay chain plus parachain-template-node..."
echo "spawning polkadot-local relay chain plus metaquity-network..."
./$ZOMBIENET_BIN spawn zombienet-config/rococo-local-config.toml -p native
}

print_help() {
echo "This is a shell script to automate the execution of zombienet."
echo ""
echo "$ ./zombienet.sh init # fetches zombienet and polkadot executables"
echo "$ ./zombienet.sh spawn # spawns a rococo-local relay chain plus parachain-template-node"
echo "$ ./zombienet.sh spawn # spawns a rococo-local relay chain plus metaquity-network"
}

SUBCOMMAND=$1
Expand Down

0 comments on commit ae3242f

Please sign in to comment.