2

I’ve deployed a contract to Ropsten and am testing it manually with Remix. This transaction reverts for whatever reason (we have unit tests where everything looks fine).

In our contract for all of our require statements we have corresponding, custom revert messages. Is there a way to see the revert message in Etherscan or elsewhere to find out why exactly this transaction is reverting?

Appreciate your help.

1

Short answer is that you can't see revert messages in etherscan.io.

If you can reproduce this on ganache, ganache will provide the revert message.

Beyond that you'd have to share the code, or even better verify it on etherscan (Ropsten) if you wanted help debugging.

0

You can debug the transaction in Remix https://remix.readthedocs.io/en/latest/tutorial_debug.html

Reposting answer from: https://forum.zeppelin.solutions/t/troubleshooting-a-revert-on-ropsten/967

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.