This repository was archived by the owner on Nov 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-13
lines changed
Expand file tree Collapse file tree 1 file changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ if [[ $runtimeName == "statemint" ]] || [[ $runtimeName == "statemine" ]] || [[
2626 pallet_xcm_benchmarks::fungible
2727 )
2828elif [[ $runtimeName == " collectives-polkadot" ]]; then
29- pallets=(
30- pallet_alliance
31- pallet_balances
32- pallet_collator_selection
33- pallet_collective
34- pallet_multisig
35- pallet_proxy
36- pallet_session
37- pallet_timestamp
38- pallet_utility
39- cumulus_pallet_xcmp_queue
40- frame_system
41- )
29+ pallets=(
30+ pallet_alliance
31+ pallet_balances
32+ pallet_collator_selection
33+ pallet_collective
34+ pallet_multisig
35+ pallet_proxy
36+ pallet_session
37+ pallet_timestamp
38+ pallet_utility
39+ cumulus_pallet_xcmp_queue
40+ frame_system
41+ )
4242else
4343 echo " $runtimeName pallet list not found in benchmarks-ci.sh"
4444 exit 1
@@ -48,10 +48,13 @@ for pallet in ${pallets[@]}
4848do
4949 # a little hack for xcm benchmarks
5050 output_file=" ${pallet//::/ _} "
51+ extra_args=" "
5152 if [[ " $pallet " == * " xcm" * ]]; then
5253 output_file=" xcm/$output_file "
54+ extra_args=" --template=./templates/xcm-bench-template.hbs"
5355 fi
5456 $artifactsDir /polkadot-parachain benchmark pallet \
57+ $extra_args \
5558 --chain=$benchmarkRuntimeName \
5659 --execution=wasm \
5760 --wasm-execution=compiled \
You can’t perform that action at this time.
0 commit comments