Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

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 and EgorPopelyaev committed Nov 22, 2022
1 parent 2e371ef commit d97f2cf
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 d97f2cf

Please sign in to comment.