-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Companion: Rename pallet trait Trait
to Config
#2014
Conversation
/// The active configuration for the current session. | ||
Config get(fn config) config(): HostConfiguration<T::BlockNumber>; | ||
HostConfig get(fn config) config(): HostConfiguration<T::BlockNumber>; |
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.
note for reviewer: this conflicted thus I changed to HostConfig
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.
I guess this pallet is used in some test chains, thus it needs to be migrated, I open such migration/rename in an independant PR for ease reviewing. #2036
I renamed to ActiveConfig, but as it is not used yet, I didn't do migration
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, assuming this compiles fine.
No need to worry about breaking rococo.
Waiting for commit status. |
Merge failed: |
Looks like #2038 sneaked in causing a merge conflict. |
bot merge |
Missing process info; check that the PR belongs to a project column. Merge can be attempted if:
|
bot merge |
Waiting for commit status. |
This PR renames the pallet trait Trait to Config.
Config storage in Configuration pallet is also renamed ActiveConfig. This doesn't need a migration as Configuration pallet is not used yet. (#2036 )
companion of paritytech/substrate#7599