make block builder and construct_runtime! generic over inherent-data (#1191)

* make block builder generic over inherent-data

* construct_runtime has you specify inherent data type

* get all tests to compile
This commit is contained in:
Robert Habermeier authored and GitHub committed 2018-12-03 11:49:30 +01:00
1 parent 69a288e586
commit 63980e3770
17 files changed
+96 -109

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ use runtime_primitives::generic;
use primitives::bytes;
use runtime_primitives::traits::{BlakeTwo256, self};
pub use runtime_primitives::BasicInherentData as InherentData;
/// An index to a block.
pub type BlockNumber = u64;