Skip to main content

Module env

Module env 

Source
Expand description

Execution environment mutation, context access, and RPC transaction conversion.

Modulesยง

block ๐Ÿ”’
Mutable block environments.
cfg ๐Ÿ”’
Configuration access and hardfork gas parameters.
chain ๐Ÿ”’
Chain context construction and lifecycle operations.
context ๐Ÿ”’
Mutable execution context access.
journal ๐Ÿ”’
Access to execution journals and their native state.
rpc ๐Ÿ”’
RPC transaction conversion into concrete execution environments.
transaction ๐Ÿ”’
Mutable transaction environments and execution-family adapters.

Structsยง

EvmEnv
Container type that holds both the configuration and block environment for EVM execution.

Traitsยง

FoundryBlock
Extension of [Block] with mutable setters, allowing EVM-agnostic mutation of block fields.
FoundryCfg
Access to a configurationโ€™s underlying environment and hardfork updates.
FoundryChain
Foundry extension for chain context type
FoundryContextExt
Extension trait providing mutable field access to block, tx, and cfg environments.
FoundryJournal
Foundry extension for Journal type
FoundryTransaction
Extension of [Transaction] with mutable setters, allowing EVM-agnostic mutation of transaction fields.
FromAnyRpcTransaction
Trait for converting an [AnyRpcTransaction] into a specific TxEnv.