@@ -8,12 +8,6 @@ PID_DIR := "/tmp/bulletin-pids"
88# Default recipe - run the complete PAPI workflow test
99default : (run-authorize-and-store " smoldot" " bulletin-polkadot-runtime" )
1010
11- # Build the bulletin chain node in release mode
12- # Parameters:
13- # runtime - Runtime name (e.g., "bulletin-polkadot-runtime", "bulletin-westend-runtime"), taken from ../scripts/runtimes-matrix.json
14- build runtime = " bulletin-polkadot-runtime":
15- cargo build --release -p {{ runtime }}
16-
1711# Setup prerequisites for Westend runtime (polkadot and polkadot-parachain binaries)
1812# This recipe clones polkadot-sdk, builds required binaries, and copies them to ~/local_bridge_testing/bin
1913setup-westend-prerequisites :
@@ -116,9 +110,6 @@ bulletin-solo-zombienet-start runtime="bulletin-polkadot-runtime":
116110
117111 echo " Using zombienet: $ZOMBIENET_BIN"
118112
119- # Get absolute paths for bulletin binary and config
120- BULLETIN_BINARY=$(cd .. && pwd)/ target/ release/ polkadot-bulletin-chain
121-
122113 # Handle different runtimes
123114 if [ " {{ runtime }} " = " bulletin-westend-runtime" ]; then
124115 echo " Setting up Westend runtime..."
@@ -149,9 +140,10 @@ bulletin-solo-zombienet-start runtime="bulletin-polkadot-runtime":
149140 POLKADOT_BINARY_PATH=$POLKADOT_BINARY_PATH \
150141 POLKADOT_PARACHAIN_BINARY_PATH=$POLKADOT_PARACHAIN_BINARY_PATH \
151142 $ZOMBIENET_BIN -p native spawn $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 &
152- else
153- # Default: bulletin-polkadot-runtime
143+ else # bulletin-polkadot-runtime
154144 echo " Setting up Polkadot runtime..."
145+ cargo build --release -p {{ runtime }}
146+ BULLETIN_BINARY=$(cd .. && pwd)/ target/ release/ polkadot-bulletin-chain
155147 ZOMBIENET_CONFIG=$(cd .. && pwd)/ zombienet/ bulletin-polkadot-local.toml
156148 POLKADOT_BULLETIN_BINARY_PATH=$BULLETIN_BINARY $ZOMBIENET_BIN -p native spawn $ZOMBIENET_CONFIG > / tmp/ zombienet.log 2 >&1 &
157149 fi
@@ -346,7 +338,7 @@ teardown-services:
346338# Parameters:
347339# mode - Connection mode: "ws" (WebSocket RPC node) or "smoldot" (light client)
348340# runtime - Runtime name (e.g., "bulletin-polkadot-runtime", "bulletin-westend-runtime", "polkadot-bulletin-chain-runtime")
349- run-authorize-and-store mode = " ws" runtime = " bulletin-polkadot-runtime": ( build runtime) npm-install
341+ run-authorize-and-store mode = " ws" runtime = " bulletin-polkadot-runtime": npm-install
350342 #!/usr/bin/env bash
351343 set -e
352344
@@ -380,7 +372,7 @@ run-authorize-and-store mode="ws" runtime="bulletin-polkadot-runtime": (build ru
380372# Run store chunked data example with Docker IPFS
381373# Parameters:
382374# runtime - Runtime name (e.g., "bulletin-polkadot-runtime", "bulletin-westend-runtime")
383- run-store-chunked-data runtime = " bulletin-polkadot-runtime": ( build runtime) npm-install
375+ run-store-chunked-data runtime = " bulletin-polkadot-runtime": npm-install
384376 #!/usr/bin/env bash
385377 set -e
386378
0 commit comments