Revert "Companion PR for Allow specify schedule dispatch origin #6387" (#1340)

This commit is contained in:
Gavin Wood
2020-07-02 15:09:03 +02:00
committed by GitHub
parent b05d7413bf
commit aeae0e1422
4 changed files with 4 additions and 35 deletions
-3
View File
@@ -58,7 +58,6 @@ 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;
@@ -142,10 +141,8 @@ 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! {