Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

show line where contract call failed #11

Open
snd opened this issue Dec 15, 2017 · 1 comment
Open

show line where contract call failed #11

snd opened this issue Dec 15, 2017 · 1 comment

Comments

@snd
Copy link
Contributor

snd commented Dec 15, 2017

if a contract call or deploy fails (due to revert, out of gas, etc) show the actual source line on which the failure occurred.

this would greatly improve the experience of writing and debugging tests!

truffle doesn't have this feature (yet).

could be extend by also dumping/showing the last known local and storage variables.

this could be a starting point:
https://ethereum.stackexchange.com/questions/25479/how-to-map-evm-trace-to-contract-source/26216#26216

@snd
Copy link
Contributor Author

snd commented Dec 15, 2017

related to #7

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

2 participants
@snd and others