foundry_evm_core::backend

Constant GLOBAL_FAIL_SLOT

Source
pub const GLOBAL_FAIL_SLOT: U256;
Expand description

bytes32("failed"), as a storage slot key into CHEATCODE_ADDRESS.

Used by all forge-std test contracts and newer DSTest test contracts as a global marker for a failed test.