Function centrifuge_chain::service::evm::new_partial
source · pub fn new_partial<RuntimeApi, BIQ>(
config: &Configuration,
first_evm_block: BlockNumber,
build_import_queue: BIQ
) -> Result<PartialComponents<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>, TFullBackend<Block>, (), DefaultImportQueue<Block>, FullPool<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, (ParachainBlockImport<Block, Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, TFullBackend<Block>>, Option<Telemetry>, Option<TelemetryWorkerHandle>, Backend<Block>, FilterPool, FeeHistoryCache)>, Error>where
RuntimeApi: ConstructRuntimeApi<Block, TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>> + Send + Sync + 'static,
RuntimeApi::RuntimeApi: RuntimeApiCollection,
StateBackendFor<TFullBackend<Block>, Block>: StateBackend<BlakeTwo256>,
BIQ: FnOnce(Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, ParachainBlockImport<Block, Arc<TFullClient<Block, RuntimeApi, WasmExecutor<SubstrateHostFunctions>>>, TFullBackend<Block>>, &Configuration, Option<TelemetryHandle>, &TaskManager, Backend<Block>, BlockNumber) -> Result<DefaultImportQueue<Block>, Error>,
Expand description
Starts a ServiceBuilder
for a full service.
Use this macro if you don’t actually need the full service, but just the builder in order to be able to perform chain operations.