Closed z80dev closed 8 months ago
fixes: #96 APE-1462
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
#pragma version 0.3.10
Compile any contract with #pragma optimize codesize
#pragma optimize codesize
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
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