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
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Any transaction receipt with 0x01 as result should be considered successful.
Actual behavior
Function isValidReceiptStatus in TransactionReceiptValidator.js doesn't consider 0x01 as valid.
Steps to reproduce the behavior
This is seen in an RSK node but could happen in any node that manages this type of hexa encoding.
Connect to an RSK network (i.e. https://public-node.testnet.rsk.co)
Execute this command: web3.eth.getTransactionReceipt("0x3f7c81902c008538d5c9f39115a31e14036fc6b9110899239660f074203f3cc1")
Check in the receipt that status value is 0x01
Therefore, if you apply isValidReceiptStatus from TransactionReceiptValidator.js to that receipt, it will throw an exception with this message: "Transaction has been reverted by the EVM".
Expected behavior
Any transaction receipt with
0x01
as result should be considered successful.Actual behavior
Function
isValidReceiptStatus
inTransactionReceiptValidator.js
doesn't consider0x01
as valid.Steps to reproduce the behavior
This is seen in an RSK node but could happen in any node that manages this type of hexa encoding.
https://public-node.testnet.rsk.co
)web3.eth.getTransactionReceipt("0x3f7c81902c008538d5c9f39115a31e14036fc6b9110899239660f074203f3cc1")
0x01
Therefore, if you apply
isValidReceiptStatus
fromTransactionReceiptValidator.js
to that receipt, it will throw an exception with this message: "Transaction has been reverted by the EVM".Error Logs
Versions
Truffle v5.0.4 (core: 5.0.4)
Solidity v0.5.0 (solc-js)
Node v11.10.
web3.js 1.0.0-beta.46
The text was updated successfully, but these errors were encountered: