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: Support Vyper 0.3.10 #97

Closed z80dev closed 8 months ago

z80dev commented 8 months ago

What I did

fixes: #96 APE-1462

How I did it

Compile each set of contracts separately according to specified optimization level in pragmas.

If no optimization level is there, we fall back to "True" as before.

also, for version pragmas, we support the new format now, looks like #pragma version 0.3.10

How to verify it

Compile any contract with #pragma optimize codesize

Checklist

antazoey commented 8 months ago

hey to fix the mypy issue (temporarily) just pin pydantic <2 in the lint dependencies with a comment saying it's needed, i did it on core ape and some other repos too