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" ]] || [[
26
26
pallet_xcm_benchmarks::fungible
27
27
)
28
28
elif [[ $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
+ )
42
42
else
43
43
echo " $runtimeName pallet list not found in benchmarks-ci.sh"
44
44
exit 1
@@ -48,10 +48,13 @@ for pallet in ${pallets[@]}
48
48
do
49
49
# a little hack for xcm benchmarks
50
50
output_file=" ${pallet//::/ _} "
51
+ extra_args=" "
51
52
if [[ " $pallet " == * " xcm" * ]]; then
52
53
output_file=" xcm/$output_file "
54
+ extra_args=" --template=./templates/xcm-bench-template.hbs"
53
55
fi
54
56
$artifactsDir /polkadot-parachain benchmark pallet \
57
+ $extra_args \
55
58
--chain=$benchmarkRuntimeName \
56
59
--execution=wasm \
57
60
--wasm-execution=compiled \
You can’t perform that action at this time.
0 commit comments