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
type Executor: NativeExecutionDispatch + 'static
type Executor: NativeExecutionDispatch + 'static
Executor type
type RuntimeApi: Send + Sync + 'static + ConstructRuntimeApi<Self::Block, TFullClient<Self::Block, Self::RuntimeApi, Self::Executor>>
type RuntimeApi: Send + Sync + 'static + ConstructRuntimeApi<Self::Block, TFullClient<Self::Block, Self::RuntimeApi, Self::Executor>>
RuntimeApi
type SelectChain: SelectChain<Self::Block> + 'static
type SelectChain: SelectChain<Self::Block> + 'static
select chain type.
type BlockImport: Send + Sync + Clone + BlockImport<Self::Block, Error = Error, Transaction = TransactionFor<TFullClient<Self::Block, Self::RuntimeApi, Self::Executor>, 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
Block import type.
The signed extras required by the runtime
type InherentDataProviders: InherentDataProvider + 'static
type InherentDataProviders: InherentDataProvider + 'static
The inherent data providers.
Required methods
fn signed_extras(
from: <Self::Runtime as Config>::AccountId
) -> Self::SignedExtras
fn signed_extras(
from: <Self::Runtime as Config>::AccountId
) -> Self::SignedExtras
Signed extras, this function is caled in an externalities provided environment.