pub fn create_block<T>(
header: Header,
transactions: impl IntoIterator<Item = T>,
) -> Blockwhere
T: Into<MaybeImpersonatedTransaction>,Expand description
Helper function to create a new block with Header and Anvil transactions
Note: if the impersonate-tx feature is enabled this will also accept
MaybeImpersonatedTransaction.