Crate revm_handler

Source
Expand description

Optimism-specific constants, types, and helpers.

Re-exports§

pub use api::ExecuteCommitEvm;
pub use api::ExecuteEvm;
pub use evm::EvmTr;
pub use evm::FrameTr;
pub use handler::EvmTrError;
pub use handler::Handler;
pub use system_call::SystemCallCommitEvm;
pub use system_call::SystemCallEvm;
pub use system_call::SystemCallTx;
pub use system_call::SYSTEM_ADDRESS;

Modules§

api
EVM execution API traits and implementations.
evm
Core EVM traits for execution and frame management.
execution
EVM execution logic and utilities.
handler
Handler implementation for orchestrating EVM execution.
instructions
EVM instruction set implementations and tables.
post_execution
Post-execution operations including gas refunds and state finalization.
pre_execution
Handles related to the main function of the EVM.
system_call
System call implementations for special EVM operations.
validation
Transaction and environment validation utilities.

Structs§

CallFrame
Call Frame
CreateFrame
Create Frame
EthFrame
Frame implementation for Ethereum.
EthPrecompiles
The PrecompileProvider for ethereum precompiles.
MainnetHandler
Mainnet handler that implements the default Handler trait for the Evm.

Enums§

FrameData
Frame Data
FrameResult
Frame Result
ItemOrResult
Represents either an item or a result.

Traits§

MainBuilder
Trait for building mainnet EVM instances from contexts.
MainContext
Trait used to initialize Context with default mainnet types.
PrecompileProvider
Provider for precompiled contracts in the EVM.

Functions§

return_create
Handles the result of a CREATE operation, including validation and state updates.

Type Aliases§

ContextTrDbError
Type alias for database errors from a context.
FrameInitOrResult
Type alias for frame initialization or result.
MainnetContext
Type alias for a mainnet context with standard Ethereum environment types.
MainnetEvm
Type alias for a mainnet EVM instance with standard Ethereum components.