Section 5: T-swap, Lesson 13- Stateful Fuzzing #152
-
Hi everyone, I just finished lesson 13 of section 5 and we created a stateful fuzz test to find bugs within the StatefulFuzzCatches.sol contract. Before we set the fail_on_revert to equal Thanks for your time! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Actually arithmetic |
Beta Was this translation helpful? Give feedback.
Actually arithmetic
underflow
andoverflow
are bugs but not in the context where we are fuzzing and the fuzzer is throwing value that are not reasonable to the contract, in some cases where we have some sort of deposit function on a contract and the fuzzer deposited 700 billion ETH , does that even make sense. I mean, who has 700 billion ETH in the real world is the total supply of ETH even up to that. so you just have to be realistic when you want to assert that their is a bug and make sure everything simulates reality at least.