-
Notifications
You must be signed in to change notification settings - Fork 2.6k
pallet-treasury | port to frame v2 #8196
pallet-treasury | port to frame v2 #8196
Conversation
some tests in bounties needs to be fix it seems, because treasury no longer export DefaultInstance. |
would be good to make use of |
Thanks @thiolliere , will pick up for this week |
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.
you need to compare the metadata to catch the miss like the constant.
Also master needs to be merged.
But otherwise looks good to me
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
…:shamb0/substrate into shamb0-br2-pallet-treasury-port-frame-v2 review updates
Thanks @thiolliere, pulled in review suggested comments & merged to master 👍 |
CI is failing https://gitlab.parity.io/parity/substrate/-/jobs/868957 |
…-treasury-port-frame-v2 merge to upstream master
Hello @thiolliere, extremely, sorry. Overlooked at CI builds & dependency. today will have a look on "continuous-integration/gitlab-check-polkadot-companion-build" |
…-treasury-port-frame-v2 merge to upstream master
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 to me, some indentation are wrong though
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
some deprecated usage of RawEvent must be fixed: https://gitlab.parity.io/parity/substrate/-/jobs/870164 |
Fixed "some deprecated usage of RawEvent" |
@thiolliere @shamb0 you must be careful here. Parts of treasury, the Tips and Bounties sub-pallets use an old Storage Key, which would mean some kind of migration is needed. Maybe not relevant to this exact PR, but def something to watch out for. |
yes tips and bounty pallets will need migration. |
@shamb0 this also went stale Feel free to reopen if you update to master |
needs to merge master, and awaiting for another review. I should also review the merge of master once done. |
pallet-treasury | port to frame v2
related #7882
polkadot companion: paritytech/polkadot#2730
From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines
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.