You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
However, when I make the same call via metamask, the transaction fails, but the exception is swallowed somewhere:
final client = Web3Client.custom(eth.asRpcService());
Is there any way to be able to see this exception somewhere? it's important because otherwise we wouldn't know it has failed unless we look up the transaction hash later on etherscan or something.
The text was updated successfully, but these errors were encountered:
As a follow up, please see screenshots - Metamask recognises the exception but thats on the user side. In the code, I don't know where this exception goes because all I get is a transaction hash (unless I use an external api to find out what happened to the transaction).
Thanks very much in advance
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
So when I make a call on my contract which should revert with an exception, I can see the exception in my console:
However, when I make the same call via metamask, the transaction fails, but the exception is swallowed somewhere:
final client = Web3Client.custom(eth.asRpcService());
Is there any way to be able to see this exception somewhere? it's important because otherwise we wouldn't know it has failed unless we look up the transaction hash later on etherscan or something.
The text was updated successfully, but these errors were encountered: