-
Notifications
You must be signed in to change notification settings - Fork 746
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
[Deprecation] GenesisConfig
-> RuntimeGenesisConfig
#175
Comments
@kianenigma can I take this one? Just to clarify, the task involves:
Did I miss anything? |
Yes, you should fully remove polkadot-sdk/substrate/frame/support/procedural/src/construct_runtime/expand/config.rs Line 81 in 878c562
|
@kianenigma I created #3378 for removing the If I missed something, please let me know. |
@RomarQ I believe you should be updating
|
No, there is no point in renaming the struct in these pallets to Also, just to give more context, the if ident != "GenesisConfig" {
let msg = "Invalid pallet::genesis_config, ident must `GenesisConfig`";
return Err(syn::Error::new(ident.span(), msg))
} |
# Description Removed deprecated type `GenesisConfig` from the codebase. Closes #175 # Checklist - [x] My PR includes a detailed description as outlined in the "Description" section above - [x] My PR follows the [labeling requirements](CONTRIBUTING.md#Process) of this project (at minimum one label for `T` required) - [x] I have made corresponding changes to the documentation (if applicable) --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
# Description Removed deprecated type `GenesisConfig` from the codebase. Closes paritytech#175 # Checklist - [x] My PR includes a detailed description as outlined in the "Description" section above - [x] My PR follows the [labeling requirements](CONTRIBUTING.md#Process) of this project (at minimum one label for `T` required) - [x] I have made corresponding changes to the documentation (if applicable) --------- Co-authored-by: Liam Aharon <liam.aharon@hotmail.com> Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
* Bump Substrate to rc4 * Add BaseCallFilter type * Add DenyUnsafe to SystemApi extension * Use new ServiceBuilder build functions * Add BaseCallFilter to test runtimes * Remove old comments * Add `rev` and `git` fields back Turns out that if you don't have these future release candidates will be used if available. For instance, once `rc5` is released a fresh pull would use that instead of `rc4` which is what we want. * Use tag release instead of specific commit Will make scripted updates easier in the future * Add short script to update between `rc` versions * Update scripts/update_rc.sh Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
We renamed many of the composite enums such that the outer one is called
RuntimeXXX
eg paritytech/substrate#11981, but we seem to have missed this one.Like other deprecations, we should keep the old name, but mark its usage is deprecated eg #182
Deprecation steps
The text was updated successfully, but these errors were encountered: