fix claim queue size (#6257)
Reported in https://github.com/paritytech/polkadot-sdk/issues/6161#issuecomment-2432097120 Fixes a bug introduced in https://github.com/paritytech/polkadot-sdk/pull/5461, where the claim queue would contain entries even if the validator groups storage is empty (which happens during the first session). This PR sets the claim queue core count to be the minimum between the num_cores param and the number of validator groups TODO: - [x] prdoc - [x] unit test
parent
9353a282
Pipeline
#503958
waiting for manual action
with stages
in
54 minutes and 15 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- polkadot/runtime/parachains/src/scheduler.rs 23 additions, 13 deletionspolkadot/runtime/parachains/src/scheduler.rs
- polkadot/runtime/parachains/src/scheduler/tests.rs 19 additions, 1 deletionpolkadot/runtime/parachains/src/scheduler/tests.rs
- prdoc/pr_6257.prdoc 10 additions, 0 deletionsprdoc/pr_6257.prdoc
prdoc/pr_6257.prdoc
0 → 100644
Please register or sign in to comment