diff --git a/polkadot/scripts/run_benches_for_runtime.sh b/polkadot/scripts/run_benches_for_runtime.sh index 9b86424b26..fee04f846a 100755 --- a/polkadot/scripts/run_benches_for_runtime.sh +++ b/polkadot/scripts/run_benches_for_runtime.sh @@ -12,7 +12,7 @@ echo "[+] Running all benchmarks for $runtime" cargo +nightly build --profile production --locked --features=runtime-benchmarks -./target/production/polkadot benchmark \ +./target/production/polkadot benchmark pallet \ --chain "${runtime}-dev" \ --list |\ tail -n+2 |\ @@ -24,7 +24,7 @@ while read -r line; do pallet="$(echo "$line" | cut -d' ' -f1)"; echo "Runtime: $runtime. Pallet: $pallet"; # '!' has the side effect of bypassing errexit / set -e - ! ./target/production/polkadot benchmark \ + ! ./target/production/polkadot benchmark pallet \ --chain="${runtime}-dev" \ --steps=50 \ --repeat=20 \