Fix for xcm weight benchmarks generation (#1872)

This commit is contained in:
Branislav Kontur authored and GitHub committed 2022-11-15 13:49:59 +01:00
1 parent d3c6083502
commit bd3f45dc08
4 files changed
+2 -191

No files matched your search

+2 -2
View File
@@ -46,10 +46,10 @@ fi
for pallet in ${pallets[@]}
do
# a little hack for xcm benchmarks
output_file="${pallet//::/_}"
extra_args=""
if [[ "$pallet" == *"xcm"* ]]; then
# a little hack for pallet_xcm_benchmarks - we want to force custom implementation for XcmWeightInfo
if [[ "$pallet" == "pallet_xcm_benchmarks::generic" ]] || [[ "$pallet" == "pallet_xcm_benchmarks::fungible" ]]; then
output_file="xcm/$output_file"
extra_args="--template=./templates/xcm-bench-template.hbs"
fi