referrerpolicy=no-referrer-when-downgrade
pub trait BuildParachainBlockData {
    // Required method
    fn build_parachain_block(
        self,
        parent_state_root: Hash,
    ) -> ParachainBlockData<Block>;
}
Expand description

Extension trait for the BlockBuilder to build directly a ParachainBlockData.

Required Methods§

source

fn build_parachain_block( self, parent_state_root: Hash, ) -> ParachainBlockData<Block>

Directly build the ParachainBlockData from the block that comes out of the block builder.

Implementations on Foreign Types§

source§

impl<'a> BuildParachainBlockData for BlockBuilder<'a, Block, Client>

source§

fn build_parachain_block( self, parent_state_root: Hash, ) -> ParachainBlockData<Block>

Implementors§