Skip to content

Commit b91f059

Browse files
committed
fix: missed one change
1 parent 6471833 commit b91f059

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

runtime/common/src/weights/frame_system_extensions.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
2828
2929
// Executed Command:
30-
// ./scripts/../target/bench-dev/frequency
30+
// scripts/../target/bench-dev/frequency
3131
// benchmark
3232
// pallet
3333
// --pallet=frame_system_extensions
@@ -36,10 +36,10 @@
3636
// --heap-pages=4096
3737
// --steps=50
3838
// --repeat=20
39-
// --output=./scripts/../runtime/common/src/weights
40-
// --template=./scripts/../.maintain/frame-system-extensions-weight-template.hbs
39+
// --output=scripts/../runtime/common/src/weights
40+
// --template=scripts/../.maintain/frame-system-extensions-weight-template.hbs
4141
// --additional-trie-layers=3
42-
// --runtime=./scripts/../target/bench-dev/wbuild/frequency-runtime/frequency_runtime.wasm
42+
// --runtime=scripts/../target/bench-dev/wbuild/frequency-runtime/frequency_runtime.wasm
4343
// --genesis-builder=runtime
4444

4545
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -66,7 +66,7 @@ impl<T: frame_system::Config> frame_system::ExtensionsWeightInfo for WeightInfo<
6666
// Measured: `68`
6767
// Estimated: `0`
6868
// Minimum execution time: 5_000_000 picoseconds.
69-
Weight::from_parts(6_000_000, 0)
69+
Weight::from_parts(5_000_000, 0)
7070
}
7171
fn check_mortality_immortal_transaction() -> Weight {
7272
// Proof Size summary in bytes:
@@ -105,13 +105,13 @@ impl<T: frame_system::Config> frame_system::ExtensionsWeightInfo for WeightInfo<
105105
// Measured: `0`
106106
// Estimated: `0`
107107
// Minimum execution time: 0_000 picoseconds.
108-
Weight::from_parts(0, 0)
108+
Weight::from_parts(1_000_000, 0)
109109
}
110110
fn check_weight() -> Weight {
111111
// Proof Size summary in bytes:
112112
// Measured: `0`
113113
// Estimated: `0`
114-
// Minimum execution time: 3_000_000 picoseconds.
114+
// Minimum execution time: 4_000_000 picoseconds.
115115
Weight::from_parts(4_000_000, 0)
116116
}
117117
fn weight_reclaim() -> Weight {

scripts/run_benchmarks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function run_benchmark() {
196196
--steps=${2} \
197197
--repeat=${3} \
198198
--output=${4} \
199-
--template=${5} \
199+
--template=${TEMPLATE} \
200200
--additional-trie-layers=${6} \
201201
--runtime=${PROJECT}/target/${PROFILE_DIR}/wbuild/frequency-runtime/frequency_runtime.wasm \
202202
--genesis-builder=runtime

0 commit comments

Comments
 (0)