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
2018-11-16 16:16:10 +01:00
committed by Gav Wood
parent 0628ce94bb
commit a4e5842915
15 changed files with 64 additions and 6 deletions
+1
View File
@@ -104,6 +104,7 @@ impl ExtBuilder {
transfer_fee: self.transfer_fee,
creation_fee: self.creation_fee,
reclaim_rebate: 0,
_genesis_phantom_data: Default::default(),
}.build_storage().unwrap().0);
t.into()
}