ApeWorX / ape-vyper

Vyper compiler plugin for the Ape Framework, using VVM
https://www.apeworx.io/
Apache License 2.0
24 stars 9 forks source link

feat: implement `enrich_err()` #74

Closed antazoey closed 1 year ago

antazoey commented 1 year ago

What I did

Implemented new API method. Requires https://github.com/ApeWorX/ape/pull/1377 to not break the build Requires https://github.com/ApeWorX/ape/pull/1378 to work / test Contains everything in https://github.com/ApeWorX/ape-vyper/pull/73 because it also needs that.

How I did it

How to verify it

Output:

SUCCESS: Contract 'MathAbuse' deployed to: 0x274b028b03A250cA03644E6c578D81f019eE1323

  File "/Users/jules/ApeProjects/ape-playground/scripts/math.py", line 7, in main
    contract.num_add(1, sender=account)

ERROR: (IntegerOverflowError) Integer overflow
INFO: Stopping 'geth' process.

Checklist