EnsureOrigin is a frame abstraction - it should be in frame_support (#5521)

* EnsureOrigin is a frame abstraction - it should be in frame_support

* Fixes
This commit is contained in:
Gavin Wood authored and GitHub committed 2020-04-04 12:58:05 +02:00
1 parent f0375a858f
commit 7c0fa83720
14 files changed
+48 -45

No files matched your search

+3 -1
View File
@@ -95,8 +95,10 @@ mod benchmarking;
use sp_std::{result, cmp};
use sp_inherents::{ProvideInherent, InherentData, InherentIdentifier};
#[cfg(feature = "std")]
use frame_support::debug;
use frame_support::{
Parameter, decl_storage, decl_module, debug,
Parameter, decl_storage, decl_module,
traits::{Time, UnixTime, Get},
weights::SimpleDispatchInfo,
};