hardhat
hardhat copied to clipboard
Failed to install solc 0.8.15: Checksum mismatch for version 0.8.15
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
what OS are you on and what build?
OS: macOS Monterey v12.0.1 using M1 chip Build: forge 0.2.0 (e4a2915 2022-06-19T00:05:22.438573Z)
@roynalnaruto 0.8.15 should be supported natively by svm already on M1 right?
Thanks @mattsse for the relevant fixes in svm-rs
and solc-builds
. Once https://github.com/roynalnaruto/svm-rs/pull/46 is merged this should be resolved upon publishing a new version of svm-rs
@kamescg