StatefulFuzzCatchesTest passed instead of it to fail. #330
Replies: 3 comments 10 replies
-
The THE COURSE REPO doMoreMathAgain FUNCTION function doMoreMathAgain(uint128 myNumber) public returns (uint256) {
uint256 response = (uint256(myNumber) / 1) + myValue;
storedValue = response;
return response;
} YOUR doMoreMathAgain FUNCTION function doMoreMathAgain(uint128 myNumber) public returns (uint256) {
uint256 response = (uint256(myNumber) / 1) + myValue + 1;
storedValue = response;
return response;
} Where did you see the |
Beta Was this translation helpful? Give feedback.
-
here is the code base for the attemptedBreakTest
|
Beta Was this translation helpful? Give feedback.
-
I also had this problem. Sometimes, as the runs are put on randomly, the number of runs inside your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Writing the invariant(stateful) test for StatefulFuzzCatches, it passed even though it wa supposed to fail.
here is the test suit
did i miss something, help please because this test is supposed to break the invariant.
Beta Was this translation helpful? Give feedback.
All reactions