Trait substrate_test_client::client_ext::ClientExt[][src]

pub trait ClientExt<Block: BlockT>: Sized {
    fn finalize_block(
        &self,
        id: BlockId<Block>,
        justification: Option<Justification>
    ) -> Result<()>;
fn genesis_hash(&self) -> <Block as BlockT>::Hash; }
Expand description

Extension trait for a test client.

Required methods

Finalize a block.

Returns hash of the genesis block.

Implementors