Expand description
Revm utils and implementations specific to reth.
Re-exports§
pub use revm;
Modules§
- Helper for handling execution of multiple blocks.
- Cache database that reads from an underlying
DatabaseRef
. Database adapters for payload building. Database adapters for payload building. - Contains glue code for integrating reth database into revm’s Database.
- Database implementations.
- Either type for flexible usage of different database types in the same context.
- Inspector implementations.
- revm-interpreter
- optimism
optimism
Optimism-specific constants, types, and helpers. - revm-precompile
- test_
utils test-utils
Common test helpers - witness
witness
Helper types for execution witness generation.
Structs§
- Cache state contains both modified and original values.
- Call CallStackFrame.
- Main Context structure that contains both EvmContext and External context.
- Precompiles context.
- Context with handler configuration.
- EVM instance containing both internal EVM context and external context and the handler that dictates the logic of EVM (or hardfork specification).
- Evm Builder allows building or modifying EVM. Note that some of the methods that changes underlying structures will reset the registered handler to default mainnet.
- EVM context that contains the inner EVM context and precompiles.
- Handler acts as a proxy and allow to define different behavior for different sections of the code. This allows nice integration of different chains or to disable some mainnet behavior.
- EVM contexts contains data that EVM needs for execution.
- SubRoutine checkpoint that will help us to go back from this
- A journal of state changes internal to the EVM.
- L1 block info
- State of blockchain.
- Allows building of State and initializing it with different options.
- Account Created when EVM state is merged to cache state. And it is sent to Block state.
Enums§
- A single precompile handler.
- Call stack frame.
- Contains either a frame or a result.
- Journal entries that are used to track changes to the state and are used to revert it.
Constants§
- The address of the base fee recipient.
- EVM call stack limit.
- The address of the L1Block contract.
- The address of L1 fee recipient.
Traits§
- Context aware stateful precompile trait. It is used to create a arc precompile in
ContextPrecompile
. - Context aware mutable stateful precompile trait. It is used to create a boxed precompile in
ContextPrecompile
. - EVM database interface.
- EVM database commit interface.
- EVM database interface.
- Provides access to an
Inspector
instance. - EVM Interpreter callbacks.
Functions§
- Register Inspector handles that interact with Inspector instance.
Type Aliases§
- Arc over context stateful precompile.
- Box over context mutable stateful precompile
- Database boxed with a lifetime and Send.
- A Database implementation that stores all state changes in memory.
- More constrained version of State that uses Boxed database with a lifetime.