Skip to content
Snippets Groups Projects
Commit 11fc9417 authored by Mara Broda's avatar Mara Broda :coffee: Committed by GitHub
Browse files

[ci] fix pallet benchmark script (#5247) (#5292)

parent 2cc30515
No related merge requests found
......@@ -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 \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment