Skip to main content

Module block

Module block 

Source

Structs§

TypedBlockInfo
Container type that gathers all block data, generic over a [Network].

Functions§

create_block
Helper function to create a new block with Header and Anvil transactions, generic over the transaction envelope with a default of [FoundryTxEnvelope].
create_typed_block
Generic helper function to create a block with any transaction type that supports encoding.

Type Aliases§

Block
Type alias for Ethereum Block with Anvil’s transaction type, generic over the transaction envelope with a default of [FoundryTxEnvelope].
BlockInfo
Anvil’s concrete block info type.