-
Notifications
You must be signed in to change notification settings - Fork 138
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
zkforge build
crashes on solidity errors
#291
Comments
I have the same issue as you, too!! But it occurs when running the build command on any Solidity source, no matter if the code has correct syntax or no. I'm running Windows WSL, but @yohanelly95 is getting the same error on MacOS. (#285) |
Hey folks 👋 We are in the process of releasing a new version of our Foundry implementation that will handle these situations much better. I apologize for the inconvenience currently being experienced, as this is an early alpha version we appreciate the reported issue. We are tracking to make a pre-release of the new version this week. |
This should be fixed in the most recent |
@dutterbutter, @nbaztec, thank you!! Will surely check it out. |
Component
zkForge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
(normal) forge 0.2.0 (f9da73d 2024-03-24T00:18:58.485997283Z)
What command(s) is the bug in?
zkforge build
Operating System
Linux
Describe the bug
When running
zkforge zkbuild --use 0.8.20 --use-zksolc v1.4.0
on a contract with a solidity syntax error the compiler crashes:Output of
forge build
on the same project for reference:Was able to reproduce this with a few different types of solidity errors.
System Info:
zkforge version:
Compiled from source with command:
Rust version info:
Machine info:
The text was updated successfully, but these errors were encountered: