-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Soft deprecate GenesisConfig #14210
Soft deprecate GenesisConfig #14210
Conversation
#fields | ||
} | ||
|
||
// TODO [#14065] | ||
// - deprecate it |
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.
Could you maybe temporarily put a deprecation here, to see that the CI stays green and we got all cases?
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.
Sure, that's what I did locally. Let's double check with the CI, I will remove it after being confirmed
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.
@ggwpez all green now with the deprecation attribute in place, except for the Cumulus and Polkadot companions of course, as they are throwing the deprecation warning.
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.
Yes you can do them lean without companion (since that is annoying).
bot rebase |
…n-genesisconfig-runtimegenesisconfig
Rebased |
bot merge |
Waiting for commit status. |
Merge cancelled due to error. Error: Statuses failed for 8121a6f |
// TODO [#14065] | ||
// - deprecate it | ||
// - later, remove it |
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.
Personally I think it would be cleaner to not put TODO or deprecation steps in the code comment itself, and just list them in the issue.
The code comment could say something like "GenesisConfig is in the process of being deprecated [issue link]"
bot merge |
Waiting for commit status. |
* soft deprecate genesisconfig * temporarily add a deprecation attr * update tests * update mocks * update genesis config * update genesis config * update genesis config * update genesis config * remove deprecation warning * update deprecation comment --------- Co-authored-by: parity-processbot <>
* soft deprecate genesisconfig * temporarily add a deprecation attr * update tests * update mocks * update genesis config * update genesis config * update genesis config * update genesis config * remove deprecation warning * update deprecation comment --------- Co-authored-by: parity-processbot <>
Relates to paritytech/polkadot-sdk#175
This PR Soft deprecates the runtime level
GenesisConfig
by renaming it toRuntimeGenesisConfig
.An alias
GenesisConfig
is created to keep backwards compatibility. No deprecation warning has been added at this stage as that will happen later in a separate PR as indicated in paritytech/polkadot-sdk#175