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
[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)
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 thecontracts/
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