From 11fc94176df7c60381b3ec089eee5e57d9651347 Mon Sep 17 00:00:00 2001 From: Mara Robin B <mara@broda.me> Date: Fri, 8 Apr 2022 14:50:10 +0200 Subject: [PATCH] [ci] fix pallet benchmark script (#5247) (#5292) --- polkadot/scripts/run_benches_for_runtime.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polkadot/scripts/run_benches_for_runtime.sh b/polkadot/scripts/run_benches_for_runtime.sh index 9b86424b268..fee04f846a8 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 \ -- GitLab