forge

Crate revm

Expand description

Revm is a Rust EVM implementation.

Modules§

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§