Crate reth_revm

Source
Expand description

Revm utils and implementations specific to reth.

Re-exports§

pub use revm_database as db;
pub use revm_inspector as inspector;
pub use revm;

Modules§

bytecode
Crate that contains bytecode types and opcode constants.
cached
Cache database that reads from an underlying DatabaseRef. Database adapters for payload building. Database adapters for payload building.
cancelled
A marker that can be used to cancel execution.
context
Optimism-specific constants, types, and helpers.
context_interface
Optimism-specific constants, types, and helpers.
database
Contains glue code for integrating reth database into revm’s Database.
database_interface
Optimism-specific constants, types, and helpers.
either
Either type for flexible usage of different database types in the same context.
handler
Optimism-specific constants, types, and helpers.
inspector
Optimism-specific constants, types, and helpers.
interpreter
revm-interpreter
precompile
revm-precompile
primitives
revm-primitives
state
Optimism-specific constants, types, and helpers.
test_utilstest-utils
Common test helpers
witnesswitness
Helper types for execution witness generation.

Structs§

Context
EVM context contains data that EVM needs for execution.
Journal
A journal of state changes internal to the EVM
State
State of blockchain

Enums§

JournalEntry
Journal entries that are used to track changes to the state and are used to revert it.

Traits§

Database
EVM database interface.
DatabaseCommit
EVM database commit interface.
DatabaseRef
EVM database interface.
ExecuteCommitEvm
Extension of the ExecuteEvm trait that adds a method that commits the state after execution.
ExecuteEvm
Execute EVM transactions. Main trait for transaction execution.
InspectCommitEvm
InspectEvm
Inspector
EVM hooks into execution.
MainBuilder
MainContext
Trait used to initialize Context with default mainnet types.

Type Aliases§

MainnetEvm