Skip to main content

Module env

Module env 

Source
Expand description

Execution environments and network extension state.

Re-exportsΒ§

use alloy_consensus::transaction::Recovered; πŸ”’
use alloy_eips::eip4844::BLOB_TX_MIN_BLOB_GASPRICE; πŸ”’
use alloy_eips::eip4844::fake_exponential; πŸ”’
use alloy_primitives::U256; πŸ”’
use alloy_primitives::map::AddressMap; πŸ”’
use evm2::Evm; πŸ”’
use evm2::EvmFeatures; πŸ”’
use evm2::EvmTypes; πŸ”’
use evm2::Version; πŸ”’
use evm2::env::BlockEnv; πŸ”’
use evm2::evm::AccountInfo; πŸ”’
use std::fmt::Debug; πŸ”’
use std::fmt::Debug; πŸ”’

StructsΒ§

EvmEnv
The spec, runtime version and block an EVM is built with.
StoredExt
Network extension state stored outside a running EVM, such as by a parked context or a snapshot.

ConstantsΒ§

FOUNDRY_POLICY_FEATURES
Features Foundry toggles independently of the fork.

TraitsΒ§

FoundryEvmExt
Per-EVM network state, such as OP L1 block info or Monad’s reserve-balance context.
FoundryExecutionHooks
Execution-family hooks for state Foundry changes outside ordinary EVM execution.
FoundryTxResultExt
Network-only transaction outcome flags.
SendableExt
Network extension state that can be copied without sharing thread-unsafe state.

FunctionsΒ§

carry_execution_policy
Returns next with Foundry’s execution policy carried over from current.