Crate reth_revm

Source
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
  • optimismoptimism
    Optimism-specific constants, types, and helpers.
  • revm-precompile
  • test_utilstest-utils
    Common test helpers
  • witnesswitness
    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§

Constants§

Traits§

Functions§

Type Aliases§