AURA: Switch to `CurrentSlot` instead of `LastTimestamp` (#8023)
* Convert AURA to new pallet macro * AURA: Switch to `CurrentSlot` instead of `LastTimestamp` This switches AURA to use `CurrentSlot` instead of `LastTimestamp`. * Add missing file * Update frame/aura/src/migrations.rs Co-authored-by:André Silva <123550+andresilva@users.noreply.github.com> * Remove the runtime side provide inherent code * Use correct weight * Add TODO * Remove the Inherent from AURA *
* Remove unused stuff Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
Showing
- substrate/Cargo.lock 0 additions, 1 deletionsubstrate/Cargo.lock
- substrate/bin/node-template/runtime/src/lib.rs 1 addition, 1 deletionsubstrate/bin/node-template/runtime/src/lib.rs
- substrate/frame/aura/Cargo.toml 0 additions, 2 deletionssubstrate/frame/aura/Cargo.toml
- substrate/frame/aura/src/lib.rs 40 additions, 57 deletionssubstrate/frame/aura/src/lib.rs
- substrate/frame/aura/src/migrations.rs 43 additions, 0 deletionssubstrate/frame/aura/src/migrations.rs
- substrate/frame/aura/src/mock.rs 2 additions, 6 deletionssubstrate/frame/aura/src/mock.rs
- substrate/frame/aura/src/tests.rs 1 addition, 1 deletionsubstrate/frame/aura/src/tests.rs
- substrate/primitives/consensus/aura/src/inherents.rs 1 addition, 0 deletionssubstrate/primitives/consensus/aura/src/inherents.rs
Please register or sign in to comment