reth_testing_utils::generators

Function random_block_with_parent

Source
pub fn random_block_with_parent<R: Rng>(
    rng: &mut R,
    number: u64,
    parent: Option<B256>,
) -> BlockWithParent
Expand description

Generate a random [BlockWithParent].