removes use of sc_client::Client from sc_network (#5147)

* removes use of sc_client::Client from sc_network

* rename BlockProvider to BlockBackend

* fix broken test
This commit is contained in:
Seun Lanlege authored and GitHub committed 2020-03-12 14:02:04 +01:00
1 parent 6e1b4cd560
commit 9898fc7e81
19 files changed
+105 -217

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ use sp_consensus::{
use sc_executor::{NativeExecutor, NativeExecutionDispatch};
use std::{io::{Read, Write, Seek}, pin::Pin};
use sc_client_api::BlockBody;
use sc_client_api::BlockBackend;
/// Build a chain spec json
pub fn build_spec(spec: &dyn ChainSpec, raw: bool) -> error::Result<String> {