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
Describe the bug
When testing for whether an OVM-based transaction will revert, the transaction will revert without the expected error message being thrown. Instead, the following error message is returned from L2 geth.
Yarn install, yarn compile for the OVM, and run tests
For Waffle, see all but the last 2 reversion tests pass, and for Truffle, see no tests pass since contract deployment fails with insufficient gas error.
Expected behavior
If the transaction fails, L2 geth should get the revert reason returned from the contract instead of throwing an estimate gas error.
Screenshots
The text was updated successfully, but these errors were encountered:
snario
changed the title
bug: Error: cannot estimate gas; transaction may fail or may require manual gas limit
Geth RPC does not return revert reason when transaction reverts
Apr 18, 2021
Describe the bug
When testing for whether an OVM-based transaction will revert, the transaction will revert without the expected error message being thrown. Instead, the following error message is returned from L2 geth.
To Reproduce
Steps to reproduce the behavior:
insufficient gas
error.Expected behavior
If the transaction fails, L2 geth should get the revert reason returned from the contract instead of throwing an estimate gas error.
Screenshots
The text was updated successfully, but these errors were encountered: