removes use of sc_client::Client from sc_basic_authorship (#5050)

* removes use of sc-client from sc-basic-authorship

* refactor use of ProposerFactory

* correct dep path
This commit is contained in:
Seun Lanlege
2020-02-27 17:12:00 +01:00
committed by GitHub
parent e5123166d4
commit f26f703ad4
16 changed files with 136 additions and 112 deletions
+1
View File
@@ -15,6 +15,7 @@ sp-version = { version = "2.0.0-alpha.2", path = "../../version" }
sp-runtime = { version = "2.0.0-alpha.2", path = "../../runtime" }
sp-blockchain = { version = "2.0.0-alpha.2", path = "../../blockchain" }
sp-consensus = { version = "0.8.0-alpha.2", path = "../../../primitives/consensus/common" }
sc-block-builder = { version = "0.8.0-alpha.2", path = "../../../client/block-builder" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
sp-state-machine = { version = "0.8.0-alpha.2", path = "../../../primitives/state-machine" }
trybuild = "1.0.17"
@@ -28,6 +28,7 @@ use sp_state_machine::{
use sp_consensus::SelectChain;
use codec::Encode;
use sc_block_builder::BlockBuilderProvider;
fn calling_function_with_strat(strat: ExecutionStrategy) {
let client = TestClientBuilder::new().set_execution_strategy(strat).build();