You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benchmarks for pallet_collator_selection.register_as_candidate fails with Error: Input("TooManyCandidates") when --steps are changed to value other than 8, 15, 29, 44, 50, 57, 62, 87, 92, 96 or 99
#495
Closed
simonsso opened this issue
Nov 8, 2022
· 3 comments
expected result: It should generate weights for the pallets.
Reproduce by chaining --steps to for instance 49
simson@tama:~/nodle/cumulus$ target/production/polkadot-parachain benchmark pallet --chain=westmint-dev --execution=wasm --wasm-execution=compiled --pallet=pallet_collator_selection --extrinsic=register_as_candidate --steps=49 --repeat=2 --json --header=./file_header.txt --output=dummy.rs
2022-11-08 09:52:49 assembling new collators for new session 0 at #0
2022-11-08 09:52:49 assembling new collators for new session 1 at #0
2022-11-08 09:52:50 Starting benchmark: pallet_collator_selection::register_as_candidate
2022-11-08 09:52:55 Running Benchmark: pallet_collator_selection.register_as_candidate(1 args) 39/49 1/1
Error: Input("TooManyCandidates")
Running with steps 50 works:
simson@tama:~/nodle/cumulus$ target/production/polkadot-parachain benchmark pallet --chain=westmint-dev --execution=wasm --wasm-execution=compiled --pallet=pallet_collator_selection --extrinsic=register_as_candidate --steps=50 --repeat=2 --json --header=./file_header.txt --output=dummy.rs
2022-11-08 09:53:08 assembling new collators for new session 0 at #0
2022-11-08 09:53:08 assembling new collators for new session 1 at #0
2022-11-08 09:53:09 Starting benchmark: pallet_collator_selection::register_as_candidate
2022-11-08 09:53:14 Running Benchmark: pallet_collator_selection.register_as_candidate(1 args) 39/50 1/1
For step numbers below 100 only: 8, 15, 29, 44, 50, 57, 62, 87, 92, 96 and 99 works all other will fail
The text was updated successfully, but these errors were encountered:
simonsso
changed the title
Benchmarks for pallet_collator_selection.register_as_candidate fails with Error: Input("TooManyCandidates") when --steps are changed
Benchmarks for pallet_collator_selection.register_as_candidate fails with Error: Input("TooManyCandidates") when --steps are changed to value other than 8, 15, 29, 44, 50, 57, 62, 87, 92, 96 or 99
Nov 8, 2022
bkchr
transferred this issue from paritytech/cumulus
Nov 8, 2022
Running benchmarks for the pallet with a value for steps other than 50 will fail:
expected result: It should generate weights for the pallets.
Reproduce by chaining --steps to for instance 49
Running with steps 50 works:
For step numbers below 100 only: 8, 15, 29, 44, 50, 57, 62, 87, 92, 96 and 99 works all other will fail
The text was updated successfully, but these errors were encountered: