-
Notifications
You must be signed in to change notification settings - Fork 480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change error message in frontier to mimic ethereum #218
Comments
I think this is a good idea, however, there are several variants for the revert message from what I read. I.e. including decoded revert reason from solidity explicit revert calls.
So I'd say we want this to be configurable (actually for all |
I think the default should be |
I still get the old error code when I run the tests in https://github.com/PureStake/moonbeam/pull/124/files @tgmichel |
oh wait but this is frontier |
Motivation
I was testing contract calls and the error messages were slightly different than expected:
Frontier reverts say: 'evm revert: Reverted' when a regular ethereum blockchain would say 'VM Exception while processing transaction: revert'
Changing the Error message would allow devs to reuse ethereum tests for frontier based tests.
Suggested Solution
Just a slight change in error message
Alternatives
It's not a big deal but it would allow devs to reuse tests from ethereum to Frontier
The text was updated successfully, but these errors were encountered: