-
Notifications
You must be signed in to change notification settings - Fork 99
chainSpec: support for injecting paras into RuntimeGenesisConfigPatch #1300
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
Conversation
Co-authored-by: Nikos Kontakis <[email protected]>
Co-authored-by: Nikos Kontakis <[email protected]>
|
All zombienet tests are green in paritytech/polkadot-sdk#1256: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/pipelines/386286 |
Awesome, I can merge it and include in the next release if you are agree. |
Would be great to have it in official version. It is backward compatible so should be safe. Thanks! |
This PR proposes two fixes for manipulating
chainSpec, which are required for paritytech/polkadot-sdk#1256:runtime_genesis_configfield is no longer part of RuntimeGenesisConfig for rococo runtimes. It was removed inchain-spec: getting ready for native-runtime-free world polkadot-sdk#1256, instead of this unifiedRuntimeGenesisConfigPatchfield is available.RuntimeGenesisConfigpatch contained inChainSpecdoes not contain any default values for runtime genesis config. It only contains values that were overwritten by chain spec author. Since thepara.parawas not changed in rococo chain spec it is not contained in patch. We need to inject it.For more info on
RuntimeGenesisConfigPatchplease refer to paritytech/polkadot-sdk#1256.Step towards: paritytech/polkadot-sdk#25