zksolc compiler version (1.5.12) not within the allowed range #1014
-
I'm using zksync-sso-clave-contracts (commit e5e624b) for some project, and at some point I started to get this error message during build: > zksync-sso-contracts@ build /Users/dev/Projects/zksync-sso-clave-contracts
> pnpm hardhat compile
Error in plugin @matterlabs/hardhat-zksync-solc: The zksolc compiler version (1.5.12) in the hardhat config file is not within the allowed range. Please use versions 1.3.13 to 1.5.3. Not sure what changed, I was able to build and deploy until I wasn't. This started few days ago, no changes to the project. Getting the same error also when using main latest. I'd appreciate some help with this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey, I wasn't able to reproduce: ❯ git checkout e5e624b
❯ pnpm build
> zksync-sso-contracts@ build zksync-sso-clave-contracts
> pnpm hardhat compile
Downloading zksolc 1.5.12
zksolc version 1.5.12 successfully downloaded
Compiling contracts for ZKsync Era with zksolc v1.5.12 and zkvm-solc v0.8.28-1.0.1
Compiling 104 Solidity files
...
Successfully generated 242 typings!
Successfully compiled 104 Solidity files Make sure there are actually no changes in your code, perhaps try to also reinstall the dependencies ( |
Beta Was this translation helpful? Give feedback.
Hey, I wasn't able to reproduce:
Make sure there are actually no changes in your code, perhaps try to also reinstall the dependencies (
rm -rf node_modules && pnpm i
) and clear the hardhat cache (pnpm run clean
)