Uh oh!
There was an error while loading. Please reload this page.
Migrate pallet-scheduler to pallet attribute macro - #8769
Conversation
gui1117
left a comment
There was a problem hiding this comment.
the calls function should stay private, but otherwise it is good to me
Also in general I prefer not to format untouched code, that make review more easy.
Polkadot/Kusama/Westend correctly have Scheduler as pallet name so no migration needed
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
stanly-johnson
commented
May 12, 2021
Sorry about the unwanted formatting, I ran cargo fmt and didn't notice the unrelated changes. Reverted most of it |
KiChjang
left a comment
There was a problem hiding this comment.
The metadata for events needs to be added, others are documentation and whitespace changes.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
KiChjang
commented
May 18, 2021
bot merge |
ghost
commented
May 18, 2021
Trying merge. |
* migrate to pallet! * fixes * fix genesis * code review fixes * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * Update frame/scheduler/src/lib.rs Co-authored-by: Keith Yeung <kungfukeith11@gmail.com> * fix metadata Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Part of #7882.
Converts the
Schedulerpallet 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.