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:
AshleyandKian Paimani authored and Bastian Köcher committed 2019-09-24 10:05:15 +02:00
1 parent a7cd458544
commit 5c39f588be
27 files changed
+30 -31

No files matched your search

+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;