forge::inspectors

Crate cheatcodes

Expand description

§foundry-cheatcodes

Foundry cheatcodes implementations.

Modules§

  • foundry-cheatcodes-spec

Structs§

  • Helps collecting transactions from different forks.
  • An EVM inspector that handles calls to various cheatcodes, each with their own behavior.
  • Additional, configurable context the Cheatcodes inspector has access to
  • The cheatcode context, used in Cheatcode.
  • Contains additional, test specific resources that should be kept for the duration of the test
  • Error thrown by cheatcodes.
  • Clonable wrapper around WalletsInner.
  • Contains context for wallet management.

Enums§

Traits§

Functions§

  • Set forge command current execution context for the duration of the program. Execution context is immutable, subsequent calls of this function won’t change the context.

Type Aliases§