use headers on templates (#12546)

This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2022-10-21 21:46:25 +00:00
1 parent c0e8abe1a8
commit 932e1a334b
2 files changed
+3 -17

No files matched your search

+2
View File
@@ -121,6 +121,7 @@ for PALLET in "${PALLETS[@]}"; do
--wasm-execution=compiled \
--heap-pages=4096 \
--output="$WEIGHT_FILE" \
--header="./HEADER-APACHE2" \
--template=./.maintain/frame-weight-template.hbs 2>&1
)
if [ $? -ne 0 ]; then
@@ -137,6 +138,7 @@ OUTPUT=$(
--execution=wasm \
--wasm-execution=compiled \
--weight-path="./frame/support/src/weights/" \
--header="./HEADER-APACHE2" \
--warmup=10 \
--repeat=100 2>&1
)