[ci] scripted update of block- and extrinsic base weights (#5216)

This commit is contained in:
Mara Robin B
2022-04-02 16:46:55 +02:00
committed by GitHub
parent 784ca5bf0f
commit ac56959078
@@ -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