Trait BlockAssembler
pub trait BlockAssembler<F>where
F: BlockExecutorFactory,{
type Block: Block;
// Required method
fn assemble_block(
&self,
input: BlockAssemblerInput<'_, '_, F, <Self::Block as Block>::Header>,
) -> Result<Self::Block, BlockExecutionError>;
}
Available on crate feature
evm
only.Expand description
A type that knows how to assemble a block.
Required Associated Types§
Required Methods§
fn assemble_block(
&self,
input: BlockAssemblerInput<'_, '_, F, <Self::Block as Block>::Header>,
) -> Result<Self::Block, BlockExecutionError>
fn assemble_block( &self, input: BlockAssemblerInput<'_, '_, F, <Self::Block as Block>::Header>, ) -> Result<Self::Block, BlockExecutionError>
Builds a block. see BlockAssemblerInput
documentation for more details.