Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Migrate pallet-scheduler to pallet attribute macro (paritytech#8769)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
2 people authored and nazar-pc committed Aug 8, 2021
1 parent 6168279 commit 57ee8e0
Show file tree
Hide file tree
Showing 2 changed files with 714 additions and 502 deletions.
2 changes: 1 addition & 1 deletion frame/scheduler/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use frame_system::RawOrigin;
use frame_support::{ensure, traits::OnInitialize};
use frame_benchmarking::{benchmarks, impl_benchmark_test_suite};

use crate::Module as Scheduler;
use crate::Pallet as Scheduler;
use frame_system::Pallet as System;

const BLOCK_NUMBER: u32 = 2;
Expand Down
Loading

0 comments on commit 57ee8e0

Please sign in to comment.