-
Notifications
You must be signed in to change notification settings - Fork 5k
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
"Transaction has been reverted by the EVM" deploying contract with version higher than 1.0.0-beta.46 #2560
Comments
I can confirm that ganache doesn't work for version 48,49,50. A single operation like this crashes:
This code was working until beta 37. Versions 37-46 were incompatible with ganache. |
@iccicci Thanks for opening this issue! I've checked it and ganache is returning an invalid value in the status property. As documented in the JSON-RPC API of geth and parity should the status field contain a hex string and not a boolean. @fireblockdev Web3.js is using the Because of this do I close this issue and ask you to open a new one in the ganache repository. |
Thank you very much for your extremely fast reaction, guys! |
It seems there already is a issue tracking that: Thank you again, |
So how to solve it, wait ganache fix? |
@nivida Hi nivida, why I deploy contract to infura got the same error, is infura use ganache too? deploy.js:
|
@iccicci |
Description
Even if following the doc, I get the error in subject if I try to use a Web3 version higher than 1.0.0-beta.46
Expected behavior
Simply "42" as output.
Actual behavior
With version "1.0.0-beta.46": simply "42" as output.
With version higher that "1.0.0-beta.46" (beta[47, 50] when I write) following error:
Steps to reproduce the behavior
In an empty directory create following two files:
package.json
report.js
Then issue following two commands:
Please note the the reason I'm reporting the problem here is that only changing Web3 version to
"1.0.0-beta.46" everything works as expected.
Versions
Thank you all,
iCC
The text was updated successfully, but these errors were encountered: