Skip to main contentModule executor
Source use crate::eth::backend::cheats::CheatsManager; π use crate::eth::error::InvalidTransactionError; π use crate::eth::pool::transactions::PoolTransaction; π use crate::eth::pool::transactions::TxMarker; π use crate::mem::inspector::AnvilInspector; π use crate::mem::inspector::InspectorTxConfig; π use alloy_consensus::Eip658Value; π use alloy_consensus::Receipt; π use alloy_consensus::ReceiptWithBloom; π use alloy_consensus::Transaction; π use alloy_consensus::TransactionEnvelope; π use alloy_consensus::TransactionEnvelope; π use alloy_consensus::TxReceipt; π use alloy_consensus::transaction::Either; π use alloy_consensus::transaction::Recovered; π use alloy_eips::Encodable2718; π use alloy_eips::eip2935; π use alloy_eips::eip4788; π use alloy_eips::eip6110::DEPOSIT_REQUEST_TYPE; π use alloy_eips::eip7685::Requests; π use alloy_eips::eip7702::RecoveredAuthority; π use alloy_eips::eip7702::RecoveredAuthorization; π use alloy_evm::Evm; π use alloy_evm::FromRecoveredTx; π use alloy_evm::FromTxWithEncoded; π use alloy_evm::RecoveredTx; π use alloy_evm::block::BalIndexedDatabase; π use alloy_evm::block::BlockExecutionError; π use alloy_evm::block::BlockExecutionResult; π use alloy_evm::block::BlockExecutor; π use alloy_evm::block::BlockValidationError; π use alloy_evm::block::ExecutableTx; π use alloy_evm::block::GasOutput; π use alloy_evm::block::StateDB; π use alloy_evm::block::SystemCaller; π use alloy_evm::block::TxResult; π use alloy_evm::eth::EthTxResult; π use alloy_evm::eth::eip6110::parse_deposits_from_receipts; π use alloy_evm::eth::receipt_builder::ReceiptBuilder; π use alloy_evm::eth::receipt_builder::ReceiptBuilderCtx; π use alloy_evm::eth::spec::EthExecutorSpec; π use alloy_evm::precompiles::PrecompilesMap; π use alloy_hardforks::EthereumHardfork; π use alloy_hardforks::EthereumHardforks; π use alloy_hardforks::ForkCondition; π use alloy_primitives::Address; π use alloy_primitives::B256; π use alloy_primitives::Bytes; π use alloy_primitives::Log; π use alloy_primitives::U256; π use alloy_primitives::map::HashSet; π use anvil_core::eth::transaction::MaybeImpersonatedTransaction; π use anvil_core::eth::transaction::PendingTransaction; π use anvil_core::eth::transaction::TransactionInfo; π use foundry_evm::core::env::FoundryTransaction; π use foundry_evm::core::evm::IntoInstructionResult; π use foundry_primitives::FoundryReceiptEnvelope; π use foundry_primitives::FoundryTxEnvelope; π use foundry_primitives::FoundryTxType; π use revm::Database; π use revm::DatabaseCommit; π use revm::context::Block as RevmBlock; π use revm::context_interface::result::ExecutionResult; π use revm::context_interface::result::Output; π use revm::context_interface::result::ResultAndState; π use revm::interpreter::InstructionResult; π use revm::primitives::hardfork::SpecId; π use revm::state::AccountInfo; π use revm::state::EvmState; π use std::fmt; π use std::fmt::Debug; π use std::fmt::Debug; π use std::mem::take; π use std::sync::Arc; π use tempo_precompiles::NONCE_PRECOMPILE_ADDRESS; π use tempo_precompiles::nonce::NonceManager; π use base_common_consensus::Eip8130Receipt; π baseuse base_common_evm::Eip8130PhaseStatuses; π baseuse foundry_evm::hardfork::FoundryHardfork; π base or optimism
- optimism π
base or optimism - OP-stack receipt construction for the Anvil block executor.
- ActiveEthereumSpec π
- A hardfork specification whose configured Ethereum fork is active from genesis.
- AnvilBlockExecutor
- Block executor for Anvil that implements [
BlockExecutor]. - AnvilTxResult
- Result of executing a transaction in
AnvilBlockExecutor. - EthereumBlockTransitions π
- Ethereum-only consensus transition configuration for an Anvil block executor.
- ExecutedPoolTransactions
- Result of executing pool transactions against a block executor.
- FoundryReceiptBuilder
- Receipt builder for transaction types that do not require network-specific metadata.
- PoolTxGasConfig
- Gas-related configuration for pool transaction execution.
- BlockExecutionKind π
- Determines whether an executor produces a complete block or a historical transaction prefix.
- append_deposit_requests π
- apply_ethereum_post_execution_changes π
- Collects deposits before draining the withdrawal and consolidation request queues.
- apply_ethereum_pre_execution_changes π
- Applies canonical Ethereum block-start transitions in consensus order.
- block_blob_gas_limit π
- Returns the blockβs blob gas budget.
- build_tx_env_for_pending
- Builds the EVM transaction env from a pending pool transaction.
- execute_pool_transaction π
- Executes a pool candidate through the block executorβs ordinary transaction entry point.
- execute_pool_transactions
- Executes pool transactions against a block executor, handling validation,
execution, commit, inspector drain, and result collection.