mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
[ci] scripted update of block- and extrinsic base weights (#5216)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user