Expand description
Support for “cheat codes” / bypass functions
Re-exports§
use alloy_evm::precompiles::Precompile;🔒use alloy_evm::precompiles::PrecompileInput;🔒use alloy_primitives::Address;🔒use alloy_primitives::B256;🔒use alloy_primitives::Bytes;🔒use alloy_primitives::map::foldhash::HashMap;🔒use parking_lot::RwLock;🔒use revm::precompile::PrecompileHalt;🔒use revm::precompile::PrecompileId;🔒use revm::precompile::PrecompileOutput;🔒use revm::precompile::PrecompileResult;🔒use revm::precompile::call_eth_precompile;🔒use revm::precompile::secp256k1::ec_recover_run;🔒use revm::precompile::utilities::right_pad;🔒use std::borrow::Cow;🔒use std::sync::Arc;🔒
Structs§
- Cheat
Ecrecover - A custom ecrecover precompile that supports cheat-based signature overrides.
- Cheats
Manager - Manages user modifications that may affect the node’s behavior
- Cheats
State - Container type for all the state variables
- Next
Block 🔒Override - A one-shot override of a value of the next mined block.
- Next
Block 🔒Overrides - Values manually set for the next mined block.
Statics§
- PRECOMPILE_
ID_ 🔒CHEAT_ ECRECOVER - ID for the
CheatEcrecover::precompile_idprecompile.