Skip to content
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

pallet-tips | port to frame v2 #6

Conversation

shamb0
Copy link
Owner

@shamb0 shamb0 commented Mar 26, 2021

pallet-tips | port to frame v2

related paritytech#7882 | Has dependency on paritytech#8196 , paritytech#8193

⚠️ Breaking Change ⚠️

From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines

storages now use PalletInfo for module_prefix instead of the one given to decl_storage: 
Thus any use of this pallet in construct_runtime! should be careful to update name 
in order not to break storage or to upgrade storage (moreover for instantiable pallet). 
If pallet is published, make sure to warn about this breaking change.

So users of the treasury pallet must be careful about the name they used in construct_runtime!. Hence, the runtime-migration label, which might not be needed depending on the configuration of the treasury pallet.

bkchr and others added 3 commits March 26, 2021 14:21
* Change companion check order

Apparently if the pr isn't approved it counts as not mergable. However,
this is rahter confusing. To fix this, we just change the order.

* Move exit
…-tips-port-frame-v4

merge to upstream master
@shamb0 shamb0 closed this Mar 26, 2021
@shamb0 shamb0 deleted the shamb0-br4-pallet-tips-port-frame-v4 branch March 26, 2021 13:32
@shamb0 shamb0 restored the shamb0-br4-pallet-tips-port-frame-v4 branch March 26, 2021 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants