foundry_cheatcodes

Module inspector

Source
Expand description

Cheatcode EVM inspector.

Modules§

Macros§

Structs§

Traits§

Functions§

  • access_is_call πŸ”’
    Returns true if the kind of account access is a call.
  • Appends an AccountAccess that resumes the recording of the current context.
  • apply_dispatch πŸ”’
    Dispatches the cheatcode call to the appropriate function.
  • Helper that expands memory, stores a revert string pertaining to a disallowed memory write, and sets the return range to the revert string’s location in memory.
  • will_exit πŸ”’
    Helper function to check if frame execution will exit.
  • with_evm πŸ”’
    Constructs [revm::Evm] and runs a given closure with it.

Type Aliases§