ApeWorX / ape-vyper

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

fix: adhere to correct ethpm-types #29

Closed NotPeopling2day closed 2 years ago

NotPeopling2day commented 2 years ago

What I did

Requires release of https://github.com/ApeWorX/ape/pull/408

Correct all validation errors from ethpm-types! Fixes paths in the package manifest to use a base path of the project's contracts/ directory.

How I did it

set the base path in the compiler as well as read the bytes assuming such base path. Because we don't have access to the ProjectManager here (to get the contracts/ directory path), I just made a config property for the base path.

How to verify it

Make sure using this plus PR 408 in ape core that you can compile contracts and that your source IDs are paths.

Checklist