From 716b3e44f16d0eac0e0d374d1e886ea3d53df646 Mon Sep 17 00:00:00 2001 From: Igor Papandinas <26460174+ipapandinas@users.noreply.github.com> Date: Sat, 7 Sep 2024 17:52:10 +0200 Subject: [PATCH] runtime used to generate genesis state for benchmarking --- scripts/run_benchmarks.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run_benchmarks.sh b/scripts/run_benchmarks.sh index c739e4762..69fcf8966 100755 --- a/scripts/run_benchmarks.sh +++ b/scripts/run_benchmarks.sh @@ -121,7 +121,8 @@ for chain in ${chains//,/ }; do OUTPUT=$( $ASTAR_COLLATOR benchmark pallet \ - --chain=$chain \ + --runtime="./target/release/wbuild/$chain-runtime/$chain_runtime.wasm" \ + --genesis-builder=runtime \ --steps=50 \ --repeat=20 \ --pallet="$PALLET" \