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
TransactionRevertInstructionError: Transaction has been reverted by the EVM
at file:///L:/Learning/Crypto/Others/balance-sender-evm/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js:45:21
at Generator.next (<anonymous>)
at file:///L:/Learning/Crypto/Others/balance-sender-evm/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js:23:71
at new Promise (<anonymous>)
at __awaiter (file:///L:/Learning/Crypto/Others/balance-sender-evm/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js:19:12)
at getTransactionError (file:///L:/Learning/Crypto/Others/balance-sender-evm/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js:30:12)
at SendTxHelper.<anonymous> (file:///L:/Learning/Crypto/Others/balance-sender-evm/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js:76:33)
at Generator.next (<anonymous>)
at fulfilled (file:///L:/Learning/Crypto/Others/balance-sender-evm/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js:4:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: undefined,
reason: 'execution failed: out of funds',
signature: undefined,
receipt: undefined,
data: undefined,
code: 402
}
But when I try with an undefined value (0), it will succeed.
I'm sorry for many logs because I just wanna make sure, I don't miss anything.
Environment
Npm v10.8.2
NodeJS v22.6.0
web3.js ^4.15.0
OS Windows 10 Home Single Language 22H2
Device Asus ROG GL503VD
The text was updated successfully, but these errors were encountered:
imacrosid
changed the title
Transaction has been reverted by the EVM without any error information
Transaction has been reverted by the EVM: out of funds
Nov 16, 2024
imacrosid
changed the title
Transaction has been reverted by the EVM: out of funds
Switch to ethers it's easier to use, sorry :(
Nov 17, 2024
Expected behavior
Create a New Draft Transaction
Sign the Transaction
Send the Signed Transaction
Actual behavior
After sending the signed transaction, I got the return
TransactionRevertInstructionError: Transaction has been reverted by the EVM
.Steps to reproduce the behavior
It will return the draft transaction like this.
Logs
But when I try with an undefined value (0), it will succeed.
I'm sorry for many logs because I just wanna make sure, I don't miss anything.
Environment
The text was updated successfully, but these errors were encountered: