Companion PR for Add a DefaultQueue type alias to remove the need to use sp_api::TransactionFor`` (#1499)

* BabeImportQueue -> DefaultImportQueue

* Use DefaultImportQueue from the top level of consensus_common

* 'Update substrate'

Co-authored-by: parity-processbot <>
This commit is contained in:
Ashley
2020-07-30 11:25:59 +02:00
committed by GitHub
parent 4b2cb04e56
commit 610dd1368c
3 changed files with 140 additions and 139 deletions
+138 -137
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -160,7 +160,7 @@ type LightClient<RuntimeApi, Executor> =
fn new_partial<RuntimeApi, Executor, Extrinsic>(config: &mut Configuration) -> Result<
service::PartialComponents<
FullClient<RuntimeApi, Executor>, FullBackend, FullSelectChain,
babe::BabeImportQueue<Block, FullClient<RuntimeApi, Executor>>,
consensus_common::DefaultImportQueue<Block, FullClient<RuntimeApi, Executor>>,
sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, Executor>>,
(
impl Fn(polkadot_rpc::DenyUnsafe) -> polkadot_rpc::RpcExtension,
+1 -1
View File
@@ -151,7 +151,7 @@ type LightClient<RuntimeApi, Executor> =
pub fn new_partial<RuntimeApi, Executor, Extrinsic>(config: &mut Configuration, test: bool) -> Result<
service::PartialComponents<
FullClient<RuntimeApi, Executor>, FullBackend, FullSelectChain,
babe::BabeImportQueue<Block, FullClient<RuntimeApi, Executor>>,
consensus_common::DefaultImportQueue<Block, FullClient<RuntimeApi, Executor>>,
sc_transaction_pool::FullPool<Block, FullClient<RuntimeApi, Executor>>,
(
impl Fn(polkadot_rpc::DenyUnsafe) -> polkadot_rpc::RpcExtension,