pub fn did_fail_on_assert<FEN>(
call_result: &RawCallResult<FEN>,
state_changeset: &PendingState,
) -> boolwhere
FEN: FoundryEvmNetwork,Expand description
Returns whether the current fuzz call should be treated as an assertion failure.
This covers Solidity assert, legacy invalid-opcode assertions, any failed vm.assert*
(whatever its message, and even if the call reverted afterwards or caught the assertion
revert), and the GLOBAL_FAIL_SLOT written by legacy fail().