-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add field names to pallet Event variants #9993
Add field names to pallet Event variants #9993
Conversation
Looking good wizdave. Feel free to scope PRs to a few pallets at a time, so that it is easier to review, give fedback, and get merged. You can do multiple PRs here to migrate them all over time. |
92c01e0
to
98b3178
Compare
Pallets updated |
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.
Did you run cargo +nightly fmt
?
Just did that |
@Wizdave97 I've added them to your PR description. The CI bots will only read that to determine where the companion PRs are, instead of new github comments. |
@KiChjang Do i need to rerun the CI jobs again after this? |
… wiz-field-names-to-pallet-events
@Wizdave97 Shouldn't need to; if I'm not mistaken, there is a github hook on every edit of the PR description box, and the CI bots pick up on that. |
@KiChjang All done |
… wiz-field-names-to-pallet-events
@shawntabrizi @kianenigma Could you please review this and it's companon PRs |
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
bot merge |
/tip large |
A large tip was successfully submitted for Wizdave97 (1xazYr2XULzE3kjWCbuzKNcykfbjdgJGeSD6n3RvhdSikJf on polkadot). |
Thank you. |
* convert pallet-assets events to struct types * updated events of a couple pallets * updated pallet event field names * update pallet event field names * updated events in test files * cargo fmt * minorfixes * fix assertion error * minor fix * formatting fix * fmt
* convert pallet-assets events to struct types * updated events of a couple pallets * updated pallet event field names * update pallet event field names * updated events in test files * cargo fmt * minorfixes * fix assertion error * minor fix * formatting fix * fmt
Description
This PR changes the pallet events variants from tuples to structs with named fields
Part implementation for #9903
Pallets updated
Sorted alphabetically in the frame folder assets - proxy
polkadot companion: paritytech/polkadot#4262
cumulus companion: paritytech/cumulus#749
Polkadot address: 1xazYr2XULzE3kjWCbuzKNcykfbjdgJGeSD6n3RvhdSikJf