Trait substrate_test_runtime_client::BlockBuilderExt [−][src]
pub trait BlockBuilderExt { fn push_transfer(&mut self, transfer: Transfer) -> Result<(), Error>; fn push_storage_change(
&mut self,
key: Vec<u8>,
value: Option<Vec<u8>>
) -> Result<(), Error>; fn push_changes_trie_configuration_update(
&mut self,
new_config: Option<ChangesTrieConfiguration>
) -> Result<(), Error>; }
Expand description
Extension trait for test block builder.
Required methods
Add transfer extrinsic to the block.
Add storage change extrinsic to the block.
fn push_changes_trie_configuration_update(
&mut self,
new_config: Option<ChangesTrieConfiguration>
) -> Result<(), Error>
fn push_changes_trie_configuration_update(
&mut self,
new_config: Option<ChangesTrieConfiguration>
) -> Result<(), Error>
Add changes trie configuration update extrinsic to the block.
Implementations on Foreign Types
impl<'a, A, B> BlockBuilderExt for BlockBuilder<'a, Block, A, B> where
A: ProvideRuntimeApi<Block> + 'a,
A::Api: BlockBuilderApi<Block> + ApiExt<Block, StateBackend = StateBackendFor<B, Block>>,
B: Backend<Block>,
impl<'a, A, B> BlockBuilderExt for BlockBuilder<'a, Block, A, B> where
A: ProvideRuntimeApi<Block> + 'a,
A::Api: BlockBuilderApi<Block> + ApiExt<Block, StateBackend = StateBackendFor<B, Block>>,
B: Backend<Block>,