Skip to content
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

For the same txid, why is the "status" returned from getTransactionReceipt different between versions 5.5.2 and 6.0.6? #23

Closed
soc1c opened this issue Aug 7, 2019 · 1 comment · Fixed by #33
Labels
ISS: Question Further information is requested Priority: 2 High Type: Core
Milestone

Comments

@soc1c
Copy link
Contributor

soc1c commented Aug 7, 2019

Moved from https://github.com/ethereumclassic/go-ethereum/issues/64

I am trying to upgrade a node from version 5.5.2 to 6.0.6. But I am confused. For a successful transaction, getTransactionReceipt will return "status" to 1 on version 5.5.2. However, in version 6.0.6, "status" is 0 for the same txid.
Example:
txid: "0x57c6759aa9cd4ab72f60dc0f50f2bd122b00750425f0d7130bd83624424f0837"
on 5.5.2

{
  "blockHash": "0x5f42e57715275fcf44285e94cd187364f3060110e8b77fca0402b2420336b1ce",
  "blockNumber": 8544487,
  "contractAddress": null,
  "cumulativeGasUsed": 21000,
  "from": "0xdf7d7e053933b5cc24372f878c90e62dadad5d42",
  "gasUsed": 21000,
  "logs": [],
  "root": "6e1a89091922a0194173be1ac6159f2425cfda45c0e5d2898e586f4934d13f2f",
  "status": 1,
  "to": "0xb978fba16b86b4406bbed13f7d8719ed85a32cf4",
  "transactionHash": "0x57c6759aa9cd4ab72f60dc0f50f2bd122b00750425f0d7130bd83624424f0837",
  "transactionIndex": 0
}

but on 6.0.6

{
  "blockHash": "0x5f42e57715275fcf44285e94cd187364f3060110e8b77fca0402b2420336b1ce",
  "blockNumber": 8544487,
  "contractAddress": null,
  "cumulativeGasUsed": 21000,
  "from": "0xdf7d7e053933b5cc24372f878c90e62dadad5d42",
  "gasUsed": 21000,
  "logs": [],
  "root": "6e1a89091922a0194173be1ac6159f2425cfda45c0e5d2898e586f4934d13f2f",
  "status": 0,
  "to": "0xb978fba16b86b4406bbed13f7d8719ed85a32cf4",
  "transactionHash": "0x57c6759aa9cd4ab72f60dc0f50f2bd122b00750425f0d7130bd83624424f0837",
  "transactionIndex": 0
}
@soc1c
Copy link
Contributor Author

soc1c commented Aug 9, 2019

Also: ethereumproject/go-ethereum#722

in 6.0.7 beta, getTransactionReceipt's "status" value is always 0.
but, 0 is 'failed'.

@soc1c soc1c added this to the 6.0 Atlantis milestone Aug 12, 2019
@soc1c soc1c closed this as completed in #33 Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ISS: Question Further information is requested Priority: 2 High Type: Core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant