Ganache-cli: TransactionReceipt Status returns an integer instead of Hex

Created on 21 Dec 2017  路  3Comments  路  Source: trufflesuite/ganache-cli

Expected Behavior

The TransactionReceipt Status field should return a Hex value, this is the standard (if it has not changed :)) for all Eth RPC calls.

Current Behavior

Returns an integer, so when trying to convert from a hex string it fails.

Steps to Reproduce (for bugs)

  1. Send a Transaction
  2. Get the Receipt
  3. Inspect Json output.
    4.

Most helpful comment

Thanks for reporting, @juanfranblanco & @Enigmatic331! This is fixed in the current develop branch and will go out with the next release.

All 3 comments

To support what @juanfranblanco had mentioned - Below is a screenshot of status returned from ethereum mainnet vs Ganache. Still thinking of a way around this....

image

Thanks for reporting, @juanfranblanco & @Enigmatic331! This is fixed in the current develop branch and will go out with the next release.

Good work guys thanks for fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tectract picture Tectract  路  3Comments

mariam-crissi picture mariam-crissi  路  6Comments

SCBuergel picture SCBuergel  路  5Comments

gskerry picture gskerry  路  3Comments

lastperson picture lastperson  路  4Comments