Expand description
Cheatcode EVM inspector.
Modules§
- utils 🔒
Macros§
Structs§
- Arbitrary
Storage - Holds data about arbitrary storage.
- Broadcastable
Transaction - Helps collecting transactions from different forks.
- Cheatcodes
- An EVM inspector that handles calls to various cheatcodes, each with their own behavior.
- Context
- Contains additional, test specific resources that should be kept for the duration of the test
- GasMetering
- Holds gas metering state.
- Record
Debug Step Info - Transparent
Cheatcodes 🔒Executor - Basic implementation of CheatcodesExecutor that simply returns the Cheatcodes instance as an inspector.
Traits§
- Cheatcodes
Executor - 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.
- append_
storage_ 🔒access - Appends an AccountAccess that resumes the recording of the current context.
- apply_
dispatch 🔒 - Dispatches the cheatcode call to the appropriate function.
- calls_
as_ 🔒dyn_ cheatcode - check_
if_ 🔒fixed_ gas_ limit - 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§
- Broadcastable
Transactions - List of transactions that can be broadcasted.
- Ecx
- Inner
Ecx