mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-24 20:55:03 +00:00
Fix for xcm weight benchmarks generation (#1872)
This commit is contained in:
1 parent
d3c6083502
commit
bd3f45dc08
4 files changed
+2
-191
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user