Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Include execution outcome in eth_getTransactionReceipt in test mode #4157

Closed
axic opened this issue Jun 16, 2017 · 1 comment
Closed

Include execution outcome in eth_getTransactionReceipt in test mode #4157

axic opened this issue Jun 16, 2017 · 1 comment

Comments

@axic
Copy link
Member

axic commented Jun 16, 2017

It would be nice to have a field for transaction outcome, which would list EVM errors:

  • stack underflow/overflow
  • invalid instruction
  • revert
  • etc.

Initially this could be limited to the --test mode. This would help testing exceptions properly in Solidity.

@axic
Copy link
Member Author

axic commented Jul 26, 2018

With Byzantium partial support for this was added. Based on gas usage, most of the time the user can deduct whether it was revert or failure.

@axic axic closed this as completed Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant