-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove using_project #40
Conversation
It is not working it, but i am saving my progress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should change the exception
@@ -186,6 +186,7 @@ async def compile_project(project_root: Path, manifest: PackageManifest): | |||
path.parent.mkdir(parents=True, exist_ok=True) | |||
path.write_text(source.fetch_content()) | |||
project = Project(project_root) | |||
project.load_contracts() | |||
try: | |||
compiled_manifest = project.extract_manifest() | |||
results[project_root.name] = compiled_manifest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
VyperCompilerError
should probably be CompilerError
now on 0.8:
https://github.com/ApeWorX/ape/blob/main/src/ape/managers/compilers.py#L160-L163
(
if errors:
formatted_errors = [f"{e}" for e in errors]
error_message = "\n\n".join(formatted_errors)
raise CompilerError(error_message)
)
because all compiler-api errors get wrapped up in the end into a single CompilerError
there is a bug with compiling a vyper contract, so i working making it ape compliant