Skip to content
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

Failed to install solc 0.8.15: Checksum mismatch for version 0.8.15 #57

Open
kamescg opened this issue Jun 19, 2022 · 4 comments
Open

Comments

@kamescg
Copy link

kamescg commented Jun 19, 2022

The Situation

Just finished installing foundryup and adding the hardhat plugins to an existing project.

When running hadhat compile I have gotten 2 different CLI outputs; only run 3 times.

However, the main issue I am reporting is the checksum mismatch for v0.8.15

1st and 3rd time

[⠘] installing solc version "0.5.8"
[⠃] Successfully installed solc 0.5.8
[⠊] installing solc version "0.8.15"
[⠒] Failed to install solc 0.8.15: Checksum mismatch for version 0.8.15

Error: 
   0: Checksum mismatch for version 0.8.15

Location:
   cli/src/compile.rs:100

2nd time

[⠢] installing solc version "0.7.6"
[⠔] Successfully installed solc 0.7.6
[⠒] installing solc version "0.4.26"
[⠆] Successfully installed solc 0.4.26
[⠆] installing solc version "0.7.3"
[⠰] Successfully installed solc 0.7.3
[⠰] installing solc version "0.5.17"
[⠆] Successfully installed solc 0.5.17
[⠢] installing solc version "0.6.12"
[⠢] Successfully installed solc 0.6.12
[⠆] installing solc version "0.8.15"
[⠔] Failed to install solc 0.8.15: Checksum mismatch for version 0.8.15
@mattsse
Copy link
Member

mattsse commented Jun 19, 2022

what OS are you on and what build?

@kamescg
Copy link
Author

kamescg commented Jun 19, 2022

OS: macOS Monterey v12.0.1 using M1 chip
Build: forge 0.2.0 (e4a2915 2022-06-19T00:05:22.438573Z)

@mattsse
Copy link
Member

mattsse commented Jun 19, 2022

@roynalnaruto 0.8.15 should be supported natively by svm already on M1 right?

@roynalnaruto
Copy link

Thanks @mattsse for the relevant fixes in svm-rs and solc-builds. Once alloy-rs/svm-rs#46 is merged this should be resolved upon publishing a new version of svm-rs @kamescg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants