Skip to content

Why Are Explicit Health Factor Checks Needed in Fuzz Handlers While Parick's Code Runs Without Them? #3175

Answered by EngrPips
mosesmrima asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @mosesmrima, Programming is tough, and sometimes you need to make it work for you. I have the same redeemCollateral in my Handler contract as Patrick, and I didn't run into an issue when I ran my Invariant test. This could be happening probably because of the difference in the variables that control our invariant testing process, such as the seed and the no_of_runs, but regardless if you have to make one or more adjustments to make it work as you expect, then that is totally fine.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mosesmrima
Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants