-
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
sendSignedTransaction returns Transaction has been reverted by the EVM
even though the transaction has succeeded
#2518
Comments
Could you test this with the latest version of Web3.js? |
Sounds great! Also, I couldn't try it out using the latest version because I'm encountering the same issue as described in #2459 Thanks! |
This still happens with web3.js 1.0.0-beta.49. |
The same issue web3js 1.0.0-beta.48 |
Unfortunately same problem with 1.0.0-beta.50 |
Lets reopen this issue until a fixed version is released |
I'm not sure if this will work for everyone's use case but I've been trying to use web3 just to subscribe to the "pendingTransactions" event and transfer money from a user's wallet to another. And from what I've found so far, the "pendingTransactions" subscription doesn't work when using a GETH node as a WebSocket provider but it does work when using a Parity node as a WebSocket provider and GETH nodes do work when attempting to sign and send a transaction but Parity nodes don't. So in order for it to work for you, you can use a Parity node for Websockets and a GETH node for RTC. Hopefully, this might help other users who are stuck with the same issue until a fix for it is released 😃 |
The root cause of this issue is actually described in #2542 - the status field of the receipt is being handled as an int instead of a boolean, so true is interpreted as falsy. A PR is also included there which fixes the issue |
This question can be solved by installing 1.0.0-beta.34. I solve this problem by use 'npm install web3@1.0.0-beta.34 --save'. |
Running into this issue on Beta 50 |
THIS |
same issue with |
Has anyone find the solution for this ? I am using web3@1.3.0 |
Does someone solve this using web3@1.7.0? |
Description
I've been trying to perform a signed transaction using Web3 (connected to a Parity ETC Node) but I keep getting this error even though the transaction goes successfully once I check the wallet on gastracker.io:
Transaction has been reverted by the EVM
Here's the part where I try to perform the transaction:
Expected behavior
Calling
web3.eth.sendSignedTransaction()
should return the transaction receiptActual behavior
Calling
web3.eth.sendSignedTransaction()
returns the error below even though it successfully transfers the specified amount to the target account.Steps to reproduce the behavior
web3
signTransaction
Transaction has been reverted by the EVM
Versions
The text was updated successfully, but these errors were encountered: