Skip to content

Commit 84c6dd9

Browse files
committed
fix: runtime benchmark script
1 parent f65d979 commit 84c6dd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/run_benches_for_runtime.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -x
23

34
# Runs all benchmarks for all pallets, for a given runtime, provided by $1
45
# Should be run on a reference machine to gain accurate benchmarks
@@ -64,7 +65,7 @@ if [ $profile == "dev" ]; then
6465
additional_args="--steps=2 --repeat=1 --default-pov-mode=ignored --no-verify"
6566
else
6667
target_folder=$profile
67-
additional_args="--header=\"HEADER-GPL\" --template=\".maintain/runtime-weight-template.hbs\" --output=\"./runtimes/${runtime}/src/weights/\""
68+
additional_args="--header=HEADER-GPL --template=.maintain/runtime-weight-template.hbs --output=./runtimes/${runtime}/src/weights/"
6869
fi
6970

7071
for pallet in "${pallets[@]}"; do

0 commit comments

Comments
 (0)