Trait substrate_test_client::client_ext::ClientExt
source · pub trait ClientExt<Block: BlockT>: Sized {
// Required methods
fn finalize_block(
&self,
hash: Block::Hash,
justification: Option<Justification>,
) -> Result<()>;
fn genesis_hash(&self) -> <Block as BlockT>::Hash;
}
Expand description
Extension trait for a test client.
Required Methods§
sourcefn finalize_block(
&self,
hash: Block::Hash,
justification: Option<Justification>,
) -> Result<()>
fn finalize_block( &self, hash: Block::Hash, justification: Option<Justification>, ) -> Result<()>
Finalize a block.
sourcefn genesis_hash(&self) -> <Block as BlockT>::Hash
fn genesis_hash(&self) -> <Block as BlockT>::Hash
Returns hash of the genesis block.
Object Safety§
This trait is not object safe.