referrerpolicy=no-referrer-when-downgrade

Type Alias cumulus_test_client::Client

source ·
pub type Client = Client<Backend, Executor, Block, RuntimeApi>;
Expand description

Test client type with LocalExecutor and generic Backend.

Aliased Type§

struct Client { /* private fields */ }

Trait Implementations§

source§

impl InitBlockBuilder for Client

source§

fn init_block_builder( &self, validation_data: Option<PersistedValidationData<PHash, PBlockNumber>>, relay_sproof_builder: RelayStateSproofBuilder, ) -> BlockBuilderAndSupportData<'_>

Init a specific block builder that works for the test runtime. Read more
source§

fn init_block_builder_at( &self, at: Hash, validation_data: Option<PersistedValidationData<PHash, PBlockNumber>>, relay_sproof_builder: RelayStateSproofBuilder, ) -> BlockBuilderAndSupportData<'_>

Init a specific block builder at a specific block that works for the test runtime. Read more
source§

fn init_block_builder_with_timestamp( &self, at: Hash, validation_data: Option<PersistedValidationData<PHash, PBlockNumber>>, relay_sproof_builder: RelayStateSproofBuilder, timestamp: u64, ) -> BlockBuilderAndSupportData<'_>

Init a specific block builder that works for the test runtime. Read more