Function test_runner::client_parts [−][src]
pub fn client_parts<T>(
config_or_chain_spec: ConfigOrChainSpec
) -> Result<(Arc<MetaIoHandler<Metadata, RpcMiddleware>>, TaskManager, Arc<TFullClient<<T as ChainInfo>::Block, <T as ChainInfo>::RuntimeApi, <T as ChainInfo>::Executor>>, Arc<dyn TransactionPool<Block = <T as ChainInfo>::Block, Hash = <<T as ChainInfo>::Block as BlockT>::Hash, Error = Error, InPoolTransaction = Transaction<<<T as ChainInfo>::Block as BlockT>::Hash, <<T as ChainInfo>::Block as BlockT>::Extrinsic>>>, Sender<EngineCommand<<<T as ChainInfo>::Block as BlockT>::Hash>>, Arc<TFullBackend<<T as ChainInfo>::Block>>), Error> where
T: ChainInfo + 'static,
<T::RuntimeApi as ConstructRuntimeApi<T::Block, TFullClient<T::Block, T::RuntimeApi, T::Executor>>>::RuntimeApi: Core<T::Block> + Metadata<T::Block> + OffchainWorkerApi<T::Block> + SessionKeys<T::Block> + TaggedTransactionQueue<T::Block> + BlockBuilder<T::Block> + BabeApi<T::Block> + ApiExt<T::Block, StateBackend = <TFullBackend<T::Block> as Backend<T::Block>>::State> + GrandpaApi<T::Block>,
<T::Runtime as Config>::Call: From<Call<T::Runtime>>,
<<T as ChainInfo>::Block as BlockT>::Hash: FromStr,
<<<T as ChainInfo>::Block as BlockT>::Header as Header>::Number: AsPrimitive<usize>,
Expand description
Creates all the client parts you need for Node