-
Notifications
You must be signed in to change notification settings - Fork 91
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
chainSpec: support for injecting paras into RuntimeGenesisConfigPatch #1300
Conversation
Co-authored-by: Nikos Kontakis <wirednkod@gmail.com>
Co-authored-by: Nikos Kontakis <wirednkod@gmail.com>
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_config
field 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 unifiedRuntimeGenesisConfigPatch
field is available.RuntimeGenesisConfig
patch contained inChainSpec
does not contain any default values for runtime genesis config. It only contains values that were overwritten by chain spec author. Since thepara.para
was not changed in rococo chain spec it is not contained in patch. We need to inject it.For more info on
RuntimeGenesisConfigPatch
please refer to paritytech/polkadot-sdk#1256.Step towards: paritytech/polkadot-sdk#25