Function moonbeam_service::lazy_loading::new_lazy_loading_service
source · pub async fn new_lazy_loading_service<RuntimeApi, Customizations, Net>(
config: Configuration,
_author_id: Option<NimbusId>,
sealing: Sealing,
rpc_config: RpcConfig,
lazy_loading_config: LazyLoadingConfig,
hwbench: Option<HwBench>
) -> Result<TaskManager, ServiceError>where
RuntimeApi: ConstructRuntimeApi<Block, TLazyLoadingClient<Block, RuntimeApi, WasmExecutor<HostFunctions>>> + Send + Sync + 'static,
RuntimeApi::RuntimeApi: RuntimeApiCollection,
Customizations: ClientCustomizations + 'static,
Net: NetworkBackend<Block, Hash>,
Expand description
Builds a new lazy loading service. This service uses manual seal, and mocks the parachain inherent.