perimetersec / fuzzlib

Solidity Fuzzing Library
MIT License
32 stars 12 forks source link

Usage Documentation #8

Open vishnuram1999 opened 8 months ago

vishnuram1999 commented 8 months ago

This project looks amazing. Provides helper contracts to fuzz smart contracts. Can you include the documentation on how to use fuzzlib with Echidna and Medusa because both use different sets of cheatcodes?

rappie commented 8 months ago

Thanks! We have a lot planned, including documentation :slightly_smiling_face:

For the moment, the most useful thing to do is inherit FuzzBase and make use of the available helpers for:

The current cheatcodes in the vm interface are for Echidna only. Feel free to make a PR to add the ones Medusa has. Issue: https://github.com/perimetersec/fuzzlib/issues/9

More documentation is coming soon. Let me know if you have any other questions.

vishnuram1999 commented 8 months ago

Great! Looking forward to it.