Open
Description
I did some tests using medusa in a single directory, where different a number of contracts are available to compile individually (e.g. tests). The workflow looks like this:
- medusa fuzz --compilation-target src/X.sol
- medusa fuzz --compilation-target src/Y.sol
The first command will work correctly, the slither results will be saved to "slither_results.json", however, the second run will use the incorrect result. This can cause medusa to be less effective since the constants will not be extracted.
I think we should consider re-running slither if the compilation target changes.