File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -154,17 +154,22 @@ bulletin-solo-zombienet-start runtime="bulletin-polkadot-runtime":
154154 export PATH=" ~/local_bridge_testing/bin:$PATH"
155155 (cd .. && PATH=" $HOME/local_bridge_testing/bin:$PATH" ./ scripts/ create_bulletin_westend_spec.sh)
156156
157+ # Run zombienet from root directory so relative paths in config work correctly
157158 ZOMBIENET_CONFIG=$(cd .. && pwd)/ zombienet/ bulletin-westend-local.toml
159+ cd ..
158160 POLKADOT_BINARY_PATH=$POLKADOT_BINARY_PATH \
159161 POLKADOT_PARACHAIN_BINARY_PATH=$POLKADOT_PARACHAIN_BINARY_PATH \
160162 $ZOMBIENET_BIN -p native spawn $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 &
163+ cd examples
161164 else # bulletin-polkadot-runtime
162165 echo " Setting up Polkadot runtime..."
163166 # Build the node binary (which will build the runtime as a dependency)
164167 cargo build --release -p polkadot-bulletin-chain
165168 BULLETIN_BINARY=$(cd .. && pwd)/ target/ release/ polkadot-bulletin-chain
166169 ZOMBIENET_CONFIG=$(cd .. && pwd)/ zombienet/ bulletin-polkadot-local.toml
170+ cd ..
167171 POLKADOT_BULLETIN_BINARY_PATH=$BULLETIN_BINARY $ZOMBIENET_BIN -p native spawn $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 &
172+ cd examples
168173 fi
169174
170175 ZOMBIENET_PID=$!
Original file line number Diff line number Diff line change @@ -16,7 +16,3 @@ chain-spec-builder create \
1616
1717mv chain_spec.json bulletin-westend-spec.json
1818cp bulletin-westend-spec.json ./zombienet/bulletin-westend-spec.json
19-
20- # Also copy to examples/zombienet/ for CI tests that run from examples directory
21- mkdir -p ./examples/zombienet
22- cp bulletin-westend-spec.json ./examples/zombienet/bulletin-westend-spec.json
You can’t perform that action at this time.
0 commit comments