-
Notifications
You must be signed in to change notification settings - Fork 744
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
remove deprecated type 'GenesisConfig' #3378
remove deprecated type 'GenesisConfig' #3378
Conversation
@RomarQ looks like the tests are not passing yet? https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5249923 |
bot update-ui |
@RomarQ Requester could not be detected as a member of an allowed organization. |
bot update-ui |
@seadanda https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5252722 was started for your command Comment |
@seadanda Command |
Hi @seadanda, the What is the best way to make sure the ui tests don't mismatch? It is not clear by looking into the contributor guidelines. |
substrate/frame/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr
Outdated
Show resolved
Hide resolved
substrate/frame/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr
Show resolved
Hide resolved
bot update-ui |
@seadanda https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5272134 was started for your command Comment |
@seadanda Command |
@seadanda am I confusing something or the |
I've just cloned your branch to have a look and realised that it seems like there's a fair bit left to do to remove |
I could not find any references that needed to be removed, also all build actions are green. I will have another look at it later today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you. I left some re-wording/improvements in docs.
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
@@ -76,10 +76,6 @@ pub fn expand_outer_config( | |||
#fields | |||
} | |||
|
|||
#[cfg(any(feature = "std", test))] | |||
#[deprecated(note = "GenesisConfig is planned to be removed in December 2023. Use `RuntimeGenesisConfig` instead.")] | |||
pub type GenesisConfig = RuntimeGenesisConfig; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you see in FRAME, there are a few more deprecated items that we can already remove. You do them in a follow up if interested :) Assuming min 6mo has passed since being marked deprecated
There is also related deprecated Maybe we could also remove it in this PR? (a follow-up PR also would fine.) |
I will remove |
This job |
There are a few CI required status that never got reported. Is it something that needs a manual trigger from |
bot fmt |
@michalkucharczyk https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/5439300 was started for your command Comment |
@michalkucharczyk Command |
@RomarQ would you please fix formatting? ( |
Done |
c367ac2
# 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>
Description
Removed deprecated type
GenesisConfig
from the codebase.Closes #175
Checklist
T
required)