asset-hub-kusama: Prepare ElasticScaling with 3 cores on asset hub kusama and enable buffered election export#1018
asset-hub-kusama: Prepare ElasticScaling with 3 cores on asset hub kusama and enable buffered election export#1018lexnv wants to merge 30 commits intopolkadot-fellows:mainfrom
Conversation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
|
Review required! Latest push from author must always be reviewed |
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
|
A small followup on staking side: paritytech/polkadot-sdk#10311 has been now merged (cc @Ank4n ). |
To give more context: multi-cores can lead to shorter eras (good to avoid but not disaster). The #10311 would mitigate that (and can go to Kusama before audit is done). I will make a PR with the changes to the runtime once its backported to 2507. |
|
Indeed, let's align and include both PRs:
in a release. It looks like more tests are failing and we really need paritytech/polkadot-sdk#10541 to unblock the CI here 🙏 |
Co-authored-by: Bastian Köcher <git@kchr.de>
Co-authored-by: Bastian Köcher <git@kchr.de>
This reverts commit 1e762d5.
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
…ata (#10541) This PR ensures that the parachains test-utils crate has 2 relay parent descendants for testing purposes. Effectively fixes a panic because we missed this mock data for chains that started with `RP_offset > 0`: ``` Unable to verify provided relay parent descendants. expected_rp_descendants_num: 1 error: InvalidNumberOfDescendants { expected: 2, received: 0 } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Detected in: - https://github.com/polkadot-fellows/runtimes/actions/runs/19857064730/job/56897622908?pr=1018 Unblocks: - polkadot-fellows/runtimes#1018 Inspired by a similar fix I've introduced in: - #9880 --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de>
…ata (#10541) This PR ensures that the parachains test-utils crate has 2 relay parent descendants for testing purposes. Effectively fixes a panic because we missed this mock data for chains that started with `RP_offset > 0`: ``` Unable to verify provided relay parent descendants. expected_rp_descendants_num: 1 error: InvalidNumberOfDescendants { expected: 2, received: 0 } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Detected in: - https://github.com/polkadot-fellows/runtimes/actions/runs/19857064730/job/56897622908?pr=1018 Unblocks: - polkadot-fellows/runtimes#1018 Inspired by a similar fix I've introduced in: - #9880 --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Bastian Köcher <git@kchr.de> (cherry picked from commit 0f28d81)
…s-3-cores-ahk Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
|
Have rebased this PR on top of:
The changes added from my part are limited to:
|
| type SendToRelayChain = StakingXcmToRelayChain; | ||
| type MaxValidatorSetRetries = ConstU32<64>; | ||
| // export validators as soon as election results are ready. | ||
| type ValidatorSetExportSession = ConstU32<0>; |
|
Done via: #1037 |
This PR configures the AssetHubKusama runtime to utilize elastic scaling with 3 cores.
cc @skunert @sandreim