-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Migrate pallet-membership
to the new pallet attribute macro
#9080
Conversation
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
@KiChjang PTAL |
bot merge |
Trying merge. |
merging master should probably fix CI, but we need to test one time with try-runtime the companion before the merge IMHO, I'll do once I have proper connection. Or we should try the try-runtime bot |
bot merge cancel |
Merge cancelled. |
there was a new release, let's wait for PR to cleanup and get the new version and empty migration, kusama to get the runtime upgrade, then we can update this PR and do test with try-runtime on kusama |
now we need to store the new version manually.
I tested with try-runtime on kusama with command In the companion I deleted previous migration of 9090 and added new one. maybe this can be reviewed here paritytech/polkadot#3731 |
…migrate-pallet-membership
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
Signed-off-by: koushiro <[email protected]>
bot merge |
Waiting for commit status. |
Part of #7882
Migrate the
pallet-membership
to the new pallet attribute macrometadata generated by old macro
metadata generated by new macro
diff:
From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines
So users of the pallet must be careful about the name they used in
construct_runtime!
. Hence theruntime-migration
label, which might not be needed depending on the configuration of the pallet.polkadot
andkusama
useTechnicalMembership
as pallet name (but the current module_prefix isInstance1Membership
), thus need to migrate the storages.polkadot companion: paritytech/polkadot#3263