matter-labs/hardhat-zksync

zksolc 1.4.0 is not supported by hardhat-zksync-verify

boyuanx opened this issue ยท 3 comments

๐Ÿ› Bug Report for hardaht-zksync plugins

๐Ÿ’ฅ Plugin name

"@matterlabs/hardhat-zksync-verify": "1.3.0"

๐Ÿ“ Description

Contract compiled and deployed with zksolc 1.4.0 cannot be verified

๐Ÿ”„ Reproduction Steps

  1. Compile and deploy any contract with zksolc 1.4.0
  2. Try to verify
  3. Error

๐Ÿค” Expected Behavior

The contract should be verified.

๐Ÿ˜ฏ Current Behavior

The contract cannot be verified.

๐Ÿ–ฅ๏ธ Environment

  • Node version: 20.9.0
  • Operating System & Version: macOS 14.2.1
  • Other relevant environment details: None

๐Ÿ“‹ Additional Context

None

๐Ÿ“Ž Log Output

Successfully compiled 54 Solidity files
Your verification ID is: 3858
Error in plugin @matterlabs/hardhat-zksync-verify: Backend verification error: Unknown zksolc version: v1.4.0

Hey @boyuanx, currently, our backend verification does not support the latest zksolc compiler version, 1.4.0. We will inform you when its added.

@boyuanx version 1.4.0 is now supported for verifying smart contracts.

I have the same issue with latest hello-zksync.
yarn.lock shows "@matterlabs/hardhat-zksync-verify@^1.4.2": version "1.4.2"

But deploying gets me Error in plugin @matterlabs/hardhat-zksync-verify: Backend verification error: Unknown zksolc version: v1.4.0