Skip to main contentModule block
Source use super::transaction::TransactionInfo; ๐ use crate::eth::transaction::MaybeImpersonatedTransaction; ๐ use alloy_consensus::BlockBody; ๐ use alloy_consensus::EMPTY_OMMER_ROOT_HASH; ๐ use alloy_consensus::Typed2718; ๐ use alloy_consensus::proofs::ordered_trie_root_with_encoder; ๐ use alloy_eips::eip2718::Encodable2718; ๐ use alloy_network::Network; ๐ use foundry_primitives::FoundryTxEnvelope; ๐
- BlockInfo
- Container type that gathers all block data, generic over a [
Network].
- EncodableBlockTransaction
- A transaction that can be encoded for inclusion in a block body.
- canonical_block
- Returns a block whose transactions use canonical block-body representations.
- create_block
- Helper function to create a new block with Header and Anvil transactions, generic over the
transaction envelope with a default of
FoundryTxEnvelope.
- Block
- Type alias for a block containing potentially impersonated transactions.