Structsยง
- Continue
Outcome ๐ - Outcome of a per-call invariant check.
- Invariant
Fuzz Test Result - The outcome of an invariant fuzz test
Functionsยง
- assert_
after_ ๐invariant - Given the executor state, asserts conditions within
afterInvariantfunction. - assert_
invariants ๐ - Given the executor state, asserts that no invariant has been broken. Otherwise, it fills the
external
invariant_failures.failed_invariantmap. - can_
continue ๐ - Returns if invariant test can continue and last successful call result of the invariant test function (if it can continue).
- did_
fail_ ๐on_ assert - Returns whether the current fuzz call should be treated as an assertion failure.
- invariant_
inner_ ๐sequence - Helper function to initialize invariant inner sequence.
- invariant_
preflight_ ๐check - Given the executor state, asserts that no invariant has been broken. Otherwise, it fills the
external
invariant_failures.failed_invariantmap and returns a generic error. Either returns the call result if successful, or nothing if there was an error. - is_
assert_ ๐panic - is_
assertion_ ๐failure - Returns true if this call failed due to a Solidity assertion:
- is_
cheatcode_ ๐assert_ revert - is_
revert_ ๐assertion_ failure - logged_
assertion_ ๐failure