Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Differences in reverts on geth and ganache #98

Closed
ansermino opened this issue Apr 23, 2020 · 3 comments
Closed

Differences in reverts on geth and ganache #98

ansermino opened this issue Apr 23, 2020 · 3 comments

Comments

@ansermino
Copy link
Member

There are issues testing reverts caused by Geth responding differently to ganache (ethereum/go-ethereum#19027)

It may be possible to check the raw response from the node inside of truffle, to confirm a revert. Further investigation should be done into how we can test reverts.

@ansermino
Copy link
Member Author

This seems to be a problem due to the assertion library used and Geth returning reverts differently to ganache.

@karalabe
Copy link

Latest master should also return revers more clearly. Might be interesting to take a look at that.

@karalabe
Copy link

At least estimateGas was extended to surface revert reasons. Not sure if eth_call does too or not

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants