Trait EthCheatCtx
pub trait EthCheatCtx: FoundryContextExt<Block = BlockEnv, Tx = TxEnv, Cfg = CfgEnv>where
Self::Journal: FoundryJournalExt<Self>,
Self::Db: DatabaseExt,{ }Expand description
Temporary bound alias used during the transition to a fully generic foundry-evm and foundry-cheatcodes.
Pins the EVM context to Ethereum-specific environment types (BlockEnv, TxEnv, CfgEnv)
so that cheatcode implementations don’t need to repeat the full where-clause everywhere.
Once cheatcodes are fully generic over network/environment types this alias will be removed.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.