Trait node_testing::client::client_ext::ClientExt
pub trait ClientExt<Block>: Sizedwhere
Block: Block,{
// Required methods
fn finalize_block(
&self,
hash: <Block as Block>::Hash,
justification: Option<([u8; 4], Vec<u8>)>,
) -> Result<(), Error>;
fn genesis_hash(&self) -> <Block as Block>::Hash;
}
Expand description
Extension trait for a test client.
Required Methods§
fn finalize_block(
&self,
hash: <Block as Block>::Hash,
justification: Option<([u8; 4], Vec<u8>)>,
) -> Result<(), Error>
fn finalize_block( &self, hash: <Block as Block>::Hash, justification: Option<([u8; 4], Vec<u8>)>, ) -> Result<(), Error>
Finalize a block.
fn genesis_hash(&self) -> <Block as Block>::Hash
fn genesis_hash(&self) -> <Block as Block>::Hash
Returns hash of the genesis block.
Object Safety§
This trait is not object safe.