Trait test_runner::ChainInfo[][src]

pub trait ChainInfo: Sized {
    type Block: BlockT;
    type Executor: NativeExecutionDispatch + 'static;
    type Runtime: Config;
    type RuntimeApi: Send + Sync + 'static + ConstructRuntimeApi<Self::Block, TFullClient<Self::Block, Self::RuntimeApi, Self::Executor>>;
    type SelectChain: SelectChain<Self::Block> + 'static;
    type BlockImport: Send + Sync + Clone + BlockImport<Self::Block, Error = Error, Transaction = TransactionFor<TFullClient<Self::Block, Self::RuntimeApi, Self::Executor>, Self::Block>> + 'static;
    type SignedExtras: SignedExtension;
    type InherentDataProviders: InherentDataProvider + 'static;
    fn signed_extras(
        from: <Self::Runtime as Config>::AccountId
    ) -> Self::SignedExtras; }
Expand description

Wrapper trait for concrete type required by this testing framework.

Associated Types

Opaque block type

Executor type

Runtime

RuntimeApi

select chain type.

Block import type.

The signed extras required by the runtime

The inherent data providers.

Required methods

Signed extras, this function is caled in an externalities provided environment.

Implementors