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

show line where contract call failed #11

@snd

Description

@snd

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions