Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testnet HostConfiguration migration (v11 to v12) #3503

Closed
wants to merge 5 commits into from

Conversation

sandreim
Copy link
Contributor

This one enables feature bit 1 (Elastic scaling MVP) but doesn't alter the structure.

Once the migration is done, upgraded nodes can include CoreIndex in backed candidates that are passed to the parachains inherent. Runtime already supports this injected CoreIndex. See #3231 and #3229

Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
@sandreim sandreim added R0-silent Changes should not be mentioned in any release notes T8-polkadot This PR/Issue is related to/affects the Polkadot network. labels Feb 28, 2024
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
type V11HostConfiguration<BlockNumber> = configuration::HostConfiguration<BlockNumber>;

#[derive(Clone, Encode, PartialEq, Decode, Debug)]
pub struct V11HostConfiguration<BlockNumber> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if nothing changed between v11 and v12, can we not simply do pub type V11HostConfiguration = V12HostConfiguration?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is what I've done initially but decided to make it a different struct to avoid any missuses as we have many unreleased migrations and another one not merged here: #3181

@bkchr
Copy link
Member

bkchr commented Feb 28, 2024

Superseded by: polkadot-fellows/runtimes#205

@bkchr bkchr closed this Feb 28, 2024
@bkchr bkchr deleted the sandreim/parachain_config_migrate_v11_to_v12 branch February 28, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T8-polkadot This PR/Issue is related to/affects the Polkadot network.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants