From 2858f6ba7957ee1448e1914ab31481c84cbf108e Mon Sep 17 00:00:00 2001 From: Mara Broda Date: Tue, 29 Mar 2022 11:38:40 +0200 Subject: [PATCH] [ci] update block- and extrinsic base weights --- scripts/run_benches_for_runtime.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/run_benches_for_runtime.sh b/scripts/run_benches_for_runtime.sh index 49ea1ecb3b05..83f5a3c7a448 100755 --- a/scripts/run_benches_for_runtime.sh +++ b/scripts/run_benches_for_runtime.sh @@ -37,3 +37,12 @@ while read -r line; do --output="./runtime/${runtime}/src/weights/${pallet/::/_}.rs" done < "${runtime}_pallets" rm "${runtime}_pallets" + +# Benchmark base weights +./target/production/polkadot benchmark-overhead \ + --chain="${runtime}-dev" \ + --execution=wasm \ + --wasm-execution=compiled \ + --weight-path="runtime/${runtime}/constants/src/weights/" \ + --warmup=10 \ + --repeat=100