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

+2 -2
View File
@@ -254,8 +254,8 @@ pub mod inflation;
use rstd::{prelude::*, result};
use codec::{HasCompact, Encode, Decode};
use support::{
StorageValue, StorageMap, StorageLinkedMap, decl_module, decl_event,
decl_storage, ensure, traits::{
decl_module, decl_event, decl_storage, ensure,
traits::{
Currency, OnFreeBalanceZero, OnDilution, LockIdentifier, LockableCurrency,
WithdrawReasons, OnUnbalanced, Imbalance, Get, Time
}