Skip to main content

Module env

Module env 

Source

Modules§

optimism 🔒 optimism

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.
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.

Functions§

refresh_chain_journal
Refreshes journal state derived from a context’s active chain position.