Change decl_storage! to import the storage traits automatically (#3674)

* decl_storage imports needed traits

* bump impl_version

* Update srml/system/src/lib.rs

Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* Update srml/system/src/lib.rs

Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
This commit is contained in:
Ashley
2019-09-24 20:05:15 +12:00
committed by Bastian Köcher
parent a7cd458544
commit 5c39f588be
27 changed files with 30 additions and 31 deletions
+1 -1
View File
@@ -130,7 +130,7 @@
// Ensure we're `no_std` when compiling for Wasm.
#![cfg_attr(not(feature = "std"), no_std)]
use support::{StorageValue, StorageMap, Parameter, decl_module, decl_event, decl_storage, ensure};
use support::{Parameter, decl_module, decl_event, decl_storage, ensure};
use sr_primitives::traits::{Member, SimpleArithmetic, Zero, StaticLookup};
use system::ensure_signed;
use sr_primitives::traits::One;