Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Companion for paritytech/cumulus#1559
Browse files Browse the repository at this point in the history
  • Loading branch information
Guantong committed Jan 17, 2023
1 parent f830826 commit c120ab2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/src/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type FullBackend = sc_service::TFullBackend<Block>;
type FullClient<RuntimeApi, Executor> =
sc_service::TFullClient<Block, RuntimeApi, sc_executor::NativeElseWasmExecutor<Executor>>;
type ParachainBlockImport<RuntimeApi, Executor> =
cumulus_client_consensus_common::ParachainBlockImport<Arc<FullClient<RuntimeApi, Executor>>>;
cumulus_client_consensus_common::ParachainBlockImport<Block, Arc<FullClient<RuntimeApi, Executor>>, FullBackend>;

/// Can be called for a `Configuration` to check if it is a configuration for the `Crab` network.
pub trait IdentifyVariant {
Expand Down Expand Up @@ -177,7 +177,7 @@ where
client.clone(),
);

let block_import = ParachainBlockImport::new(client.clone());
let block_import = ParachainBlockImport::new(client.clone(), backend.clone());

let import_queue = parachain_build_import_queue(
client.clone(),
Expand Down Expand Up @@ -372,7 +372,7 @@ where
task_manager: &mut task_manager,
config: parachain_config,
keystore: keystore_container.sync_keystore(),
backend: backend.clone(),
backend,
network: network.clone(),
system_rpc_tx,
tx_handler_controller,
Expand Down

0 comments on commit c120ab2

Please sign in to comment.