Introduce a PhantomData field in GenesisConfig (#1116)

This makes it possible to support `GenesisConfig`s that to do not use
generic parameter.
This commit is contained in:
Bastian Köcher authored and Gav Wood committed 2018-11-16 16:16:10 +01:00
1 parent 0628ce94bb
commit a4e5842915
15 files changed
+64 -6

No files matched your search

+1
View File
@@ -327,6 +327,7 @@ mod tests {
transfer_fee: 0,
creation_fee: 0,
reclaim_rebate: 0,
_genesis_phantom_data: Default::default(),
}.build_storage().unwrap().0);
let xt = primitives::testing::TestXt(Some(1), 0, Call::transfer(2.into(), 69.into()));
let mut t = runtime_io::TestExternalities::<Blake2Hasher>::new(t);