Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

rename storage Config to ActiveConfig#2036

Closed
gui1117 wants to merge 4 commits intomasterfrom
gui-parachain-rename-config-storage
Closed

rename storage Config to ActiveConfig#2036
gui1117 wants to merge 4 commits intomasterfrom
gui-parachain-rename-config-storage

Conversation

@gui1117
Copy link
Contributor

@gui1117 gui1117 commented Nov 30, 2020

This PR rename the storage Config in Configuration pallet to ActiveConfig.

This is to prevent name collision with incoming renaming of Trait into Config.

I think this pallet is used in some tests chains, thus I implemented the migration. Note that I don't think the migration needs any version check and bump because it only needs to migrate a value whenever it exist.

related: #2014

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Nov 30, 2020
@gui1117 gui1117 added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Nov 30, 2020
Copy link
Member

@bkchr bkchr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not yet used anywhere, so we don't need any migrations! :)

gui1117 and others added 3 commits November 30, 2020 13:46
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
@gui1117 gui1117 added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). and removed A0-please_review Pull request needs code review. labels Nov 30, 2020
@gui1117
Copy link
Contributor Author

gui1117 commented Nov 30, 2020

then I'll close this one and do the rename directly in the Trait to Config PR

@gui1117 gui1117 closed this Nov 30, 2020
@gui1117 gui1117 deleted the gui-parachain-rename-config-storage branch November 30, 2020 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants