foundry_evm

Module backend

Source
Expand description

Foundry’s main executor backend abstraction and implementation.

Structs§

  • Provides the underlying revm::Database implementation.
  • Container type for various Backend related data
  • Represents a state snapshot taken during evm execution
  • A shareable Block database
  • relevant identifying markers in the context of BlockchainDb
  • A wrapper around Backend that ensures only revm::DatabaseRef functions are called.
  • An empty database that always returns default values when queried.
  • Represents a fork
  • In-memory [Database] for Anvil.
  • A cloneable backend type that shares access to the backend data with all its clones.
  • A minimal abstraction of a state at a certain point in time

Enums§

Constants§

Traits§

  • An extension trait that allows us to easily extend the revm::Inspector capabilities

Functions§

  • Helper method which updates data in the state with the data from the database. Does not change state for persistent accounts (for roll fork to transaction and transact).

Type Aliases§