-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Echidna fuzzing with CI support #8
Conversation
coolhill
commented
Feb 15, 2022
•
edited
Loading
edited
- Add a first test like EchidnaPercentMath
- Add echidna-action
- Corpus caching for long-term fuzz campaign (possibly access-controlled)
- Upload the artifact
9bfa91e
to
5562bcd
Compare
a26e935
to
cab3905
Compare
// zero address should always revert | ||
function withdraw_zero_address_recipient(uint256[] memory _ids) public { | ||
withdraw_should_revert(address(0), _ids); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more interesting ones will be added in another PR
Q: what is the init.json file / how was it generated? Approving regardless, this is just for my own education |
Then it starts a ganache and will record the transactions. It is documented here. In my case I actually had to use this branch of etheno bc of some bug. After that you just run deployment script. Since these did not work in our case (not updated) I ran one test in |
- introduce vault repository so it does not have to be generated from connection when requiring use - adjust initial migration file to auto increment ids and allow for nullable updatedAt column - introduce vaultMetric with collectVaultPerformances() function - schedule collectVaultPerformances() function to run once per day