Expand description
Cheatcode EVM inspector.
Modules§
- utils π
Macros§
- try_
or_ πreturn
Structs§
- Holds data about arbitrary storage.
- Helps collecting transactions from different forks.
- An EVM inspector that handles calls to various cheatcodes, each with their own behavior.
- Contains additional, test specific resources that should be kept for the duration of the test
- Holds gas metering state.
- Basic implementation of CheatcodesExecutor that simply returns the Cheatcodes instance as an inspector.
Traits§
- Helper trait for obtaining complete [revm::Inspector] instance from mutable reference to Cheatcodes.
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. - disallowed_
mem_ πwrite 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§
- List of transactions that can be broadcasted.