-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Migrate pallet-utility to pallet attribute macro. #8326
Conversation
|
@thiolliere @ascjones Could you please help to review? Thanks! :] |
|
@shaunxw what is your Polkadot / Kusama address? I would like to open a tip for your work. |
Wow, thanks a lot! XD Polkadot address: |
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.
Sorry I forgot about this one.
All good to me, though it shouldn't require a migration as there wasn't any storages in the pallet.
|
can you merge master ? I think the github action needs the new labels and I suspect it get it from repo itself |
Done. |
|
bot merge |
|
Waiting for commit status. |
|
Head SHA changed; merge aborted. |
|
bot merge |
|
Waiting for commit status. |
* Migrate pallet-utility to pallet attribute macro. * Replace 'Module' with 'Pallet' in benchmarking.
Part of #7882.
Converts the
Utilitypallet to the new pallet attribute macro introduced in #6877.Following the upgrade guidelines here: https://crates.parity.io/frame_support/attr.pallet.html#upgrade-guidelines.
From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines
So users of the
Utilitypallet must be careful about the name they used inconstruct_runtime!. Hence theruntime-migrationlabel, which might not be needed depending on the configuration of theUtilitypallet.