crytic / medusa

Parallelized, coverage-guided, mutational Solidity smart contract fuzzing, powered by go-ethereum
https://www.trailofbits.com/
GNU Affero General Public License v3.0
273 stars 33 forks source link

fix: re-encode calldata in mutator and refactor #380

Closed 0xalpharush closed 12 hours ago

0xalpharush commented 1 week ago

There was another occurrence of the same issue as https://github.com/crytic/medusa/pull/374. I've fixed it and refactored it to a common API that hopefully makes it less likely to encounter this again