-
Notifications
You must be signed in to change notification settings - Fork 47
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
Debugging "contract deployment tx returned a failed status: execution reverted module=fuzzer" #212
Comments
I was having a similar bug, it seems like it is an issue with your Try commenting parts of the logic inside it until you figure out what's causing the revert |
Thanks. I think it is because my constructor needs a starting balance: #213 It would be nice to have a bit more verbose error reporting for reverts in the constructor 🙂 |
I think you maybe need to set it as |
Yes i have it as Gustavo Grieco confirmed there is no starting balance yet, so i'm quite confident this must be the reason, I just didn't fully narrow it down. |
Hey guys, currently A decent workaround would be to have a func like this:
At some point |
@rappie + @aviggiano feel free to try out this branch for payable constructors: The logic works as follows. The config file now holds a new config option called Here is an example: Hope that makes sense and please let me know if you guys have any issues with that branch. |
@anishnaik thanks, |
@aviggiano yup we're still looking into that one. Our current theory is that it is because of the inlined bytecode that comes from the |
FYI, regarding
I was getting the following error:
Then, when I converted the number to hex value, it worked
But I guess the other notation is better, so there might be a type conversion issue. |
@aviggiano that's a good point - I will update the PR the accept arguments such as "3e24" |
I am using Recon to setup and test my contract, but I still run into this error. It's odd because, Recon implements the above in its config file by default. Everything compiles and runs on Echidna, but not medusa. |
have the same issue... |
Let´s re-open this issue to investigate. |
@mikerudenko can you describe what the issue is? There is discussion about a few types of issues in this thread so lmk specifically which part is causing problems :) |
Closing due to inactivity. |
How do I debug this? 🙂
The text was updated successfully, but these errors were encountered: