sol-rs icon indicating copy to clipboard operation
sol-rs copied to clipboard

show line where contract call failed

Open snd opened this issue 7 years ago • 1 comments

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 avatar Dec 15 '17 14:12 snd

related to #7

snd avatar Dec 15 '17 14:12 snd