ApeWorX / ape-foundry

Foundry network provider for the Ape Framework
https://www.apeworx.io/
Apache License 2.0
32 stars 13 forks source link

fix: pre-set source traceback on traced calls [APE-1325] #69

Closed antazoey closed 1 year ago

antazoey commented 1 year ago

What I did

This helps dev messages, coverage, and anything needing source tracing to work better when failures occur on calls (view methods)

How I did it

in error handling, try make the source tb and then set it. Note, I had to do this in ape-geth to fix an issue with dev message detection so am copying the changes here. Unable to test this very easily as it also requires ape-vyper. hmmmmm.

How to verify it

Checklist