Troubleshooting a revert on Ropsten

Hi everyone - 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 Like

You can’t see any revert-messages yet. The related issue is still open: https://github.com/ethereum/solidity/issues/1686

But maybe this tool will help you to find it out running geth: https://gist.github.com/gluk64/fdea559472d957f1138ed93bcbc6f78a

Btw, for more information you should share some code. Also, to exclude require/assert as a possible root cause you should remove these statements and execute the transaction without them.

3 Likes

Hi @dougiebuckets Welcome to the community.

Great answer by @itinance :pray:

An additional option is to debug the transaction in Remix
https://remix.readthedocs.io/en/latest/tutorial_debug.html

If you have a moment you could introduce yourself to the community or share what you are working on

1 Like

Hi @dougiebuckets were you able to find the cause of the revert?

As per @itinance reply, feel free to share your code if you would like further assistance.