Skip to content
Discussion options

You must be logged in to vote

Hello @michael-lucas38 , I also wonder why we was withdrawing without depositing handlerStatefullCatchesFuzz.withdrawToken() but then i realize that the moment we defined our targetContract in our testSetup the fuzzer starts making random function calls to the contract base on what we have defined as targetSelector , so it only makes call to the selector we included in our targetSelector and the order of which it makes the call is random and that is why it is fuzzing. so at the end of any random call that the fuzzer have made to our targetContract we want to withdraw any money in the contract since we want to assert that the balance of the contract is 0 and starting balance of the user is…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@michael-lucas38
Comment options

Answer selected by michael-lucas38
Comment options

You must be logged in to vote
2 replies
@michael-lucas38
Comment options

@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