Skip to content

Commit

Permalink
Fix for xcm weight benchmarks generation (#1872)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur authored Nov 15, 2022
1 parent d3c6083 commit bd3f45d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 191 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/benchmarks-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd3f45d

Please sign in to comment.