Trait tetcore_test_client::client_ext::ClientExt [−][src]
Extension trait for a test client.
Required methods
fn finalize_block(
&self,
id: BlockId<Block>,
justification: Option<Justification>
) -> Result<()>
[src]
&self,
id: BlockId<Block>,
justification: Option<Justification>
) -> Result<()>
Finalize a block.
fn genesis_hash(&self) -> <Block as BlockT>::Hash
[src]
Returns hash of the genesis block.
Implementors
impl<B, E, RA, Block> ClientExt<Block> for Client<B, E, Block, RA> where
B: Backend<Block>,
E: CallExecutor<Block> + 'static,
Self: BlockImport<Block, Error = ConsensusError>,
Block: BlockT,
[src]
B: Backend<Block>,
E: CallExecutor<Block> + 'static,
Self: BlockImport<Block, Error = ConsensusError>,
Block: BlockT,
fn finalize_block(
&self,
id: BlockId<Block>,
justification: Option<Justification>
) -> Result<()>
[src]
&self,
id: BlockId<Block>,
justification: Option<Justification>
) -> Result<()>