You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[⠰] Compiling...
[⠢] Compiling 2 files with 0.8.25
[⠰] Solc 0.8.25 finished in 1.80s
Compiler run successful!
Error:
Failed to compile with zksolc: Could not assign standard_json to writer
The text was updated successfully, but these errors were encountered:
@PatrickAlphaC I had this same issue the other day. It was due zksolc not being compatible with solc-0.8.25. However forge is resolving the solc version to use, it is selecting 0.8.25 vs something compatible (0.8.24 or lower).
Maybe try checking the logs with RUST_LOG=trace forge build to check where it is taking solc from then try to remove it and add solc-0.8.24 instead.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.0.2 (1e5e102 2024-04-18T13:02:37.531316000Z)
What command(s) is the bug in?
build
Operating System
macOS (Intel)
Describe the bug
You'll get this:
The text was updated successfully, but these errors were encountered: