Migrate srml-assets, srml-aura, srml-balances and srml-consens to the 2018 edition (#1633)

This commit is contained in:
Stanislav Tkach
2019-02-05 19:26:58 +02:00
committed by Bastian Köcher
parent 0242cee284
commit 1cb02c318b
18 changed files with 67 additions and 147 deletions
+2 -2
View File
@@ -21,7 +21,7 @@
use primitives::{BuildStorage, traits::IdentityLookup, testing::{Digest, DigestItem, Header, UintAuthorityId}};
use runtime_io;
use substrate_primitives::{H256, Blake2Hasher};
use {GenesisConfig, Trait, Module, system};
use crate::{GenesisConfig, Trait, Module};
impl_outer_origin!{
pub enum Origin for Test {}
@@ -33,7 +33,7 @@ pub struct Test;
impl Trait for Test {
type Log = DigestItem;
type SessionKey = UintAuthorityId;
type InherentOfflineReport = ::InstantFinalityReportVec<()>;
type InherentOfflineReport = crate::InstantFinalityReportVec<()>;
}
impl system::Trait for Test {
type Origin = Origin;