Expand description
Implementations of Testing cheatcodes.
Re-exportsยง
use crate::Cheatcode;๐use crate::Cheatcodes;๐use crate::CheatcodesCore;๐use crate::CheatsCtxt;๐use crate::Result;๐use alloy_chains::Chain as AlloyChain;๐use alloy_primitives::Address;๐use alloy_primitives::Bytes;๐use alloy_primitives::U256;๐use alloy_sol_types::SolValue;๐use foundry_common::version::SEMVER_VERSION;๐use foundry_evm_core::constants::MAGIC_SKIP;๐use foundry_evm_core::evm::FoundryEvmNetwork;๐use std::str::FromStr;๐use crate::Vm::*;๐
Modulesยง
- assert ๐
- assume ๐
- expect ๐
- revert_
handlers ๐
Functionsยง
- breakpoint ๐
- Adds or removes the given breakpoint to the state.
- get_
chain ๐ - Gets chain information for the given alias.
- skip ๐
- Reverts with the magic skip payload and records it in the state, so that the executor can distinguish this genuine skip from user-crafted revert data carrying the same prefix.