Try to get grandpa tests compiling again (#1121)

* Revert "start to refactor block import wrapper a bit"

This reverts commit b919de49e1a82422a0870b66100832d531174771.

* Refactor grandpa stuff to get tests almost compiling

* Fixes after rebase

* Fixes merge compile errors
This commit is contained in:
Bastian Köcher authored and Gav Wood committed 2018-11-16 07:44:51 +01:00
1 parent 1b202e1ffb
commit 276ec5f85d
12 files changed
+132 -50

No files matched your search

@@ -213,6 +213,7 @@ pub mod tests {
_header: Header,
_authorities: Option<Vec<AuthorityId>>,
_state: NewBlockState,
_aux_ops: Vec<(Vec<u8>, Option<Vec<u8>>)>,
) -> ClientResult<()> {
Err(ClientErrorKind::Backend("Test error".into()).into())
}