Skip to content

Commit

Permalink
AssertionFailure -> AssertionFailed (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrieco-tob authored Nov 23, 2022
1 parent 06a50c6 commit 5d9751d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program-analysis/echidna/testing-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ function checkInvariant(..) public { // Any number of arguments is supported
internalFunction(..);
// The following statement will always trigger a failure even if the execution ends with a revert
emits AssertionFailure(..);
emits AssertionFailed(..);
// The following statement will *only* trigger a failure using `assert` if using solc 0.8.x or newer
// To make sure it works in older versions, use the AssertionFailure(..) event
// To make sure it works in older versions, use the AssertionFailed(..) event
anotherContract.function(..);
} // side effects are preserved
Expand Down

0 comments on commit 5d9751d

Please sign in to comment.