update scheduler

This commit is contained in:
Bryan Chen
2020-06-21 16:35:22 +12:00
parent 14ce04c9cd
commit 710b25d0eb
5 changed files with 12 additions and 3 deletions
+3
View File
@@ -58,6 +58,7 @@ use im_online::sr25519::AuthorityId as ImOnlineId;
use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId;
use transaction_payment_rpc_runtime_api::RuntimeDispatchInfo;
use session::historical as session_historical;
use system::EnsureRoot;
#[cfg(feature = "std")]
pub use staking::StakerStatus;
@@ -138,8 +139,10 @@ impl system::Trait for Runtime {
impl scheduler::Trait for Runtime {
type Event = Event;
type Origin = Origin;
type PalletsOrigin = OriginCaller;
type Call = Call;
type MaximumWeight = MaximumBlockWeight;
type ScheduleOrigin = EnsureRoot<AccountId>;
}
parameter_types! {