From aba436d746d33e6864efdbf134e551b54ccf5c72 Mon Sep 17 00:00:00 2001 From: Mikhail <16622558+mmv08@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:02:36 +0100 Subject: [PATCH] update zksolc compiler version --- hardhat.config.ts | 6 ++++-- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 29d46f307..be87a79b2 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -89,8 +89,10 @@ const userConfig: HardhatUserConfig = { compilers: [{ version: primarySolidityVersion, settings: soliditySettings }, { version: defaultSolidityVersion }], }, zksolc: { - version: "1.5.3", - settings: {}, + version: "1.5.9", + settings: { + suppressedErrors: ["assemblycreate"], + }, }, networks: { hardhat: { diff --git a/package-lock.json b/package-lock.json index f360248ba..c7a6ba3b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@matterlabs/hardhat-zksync-deploy": "^1.6.0", "@matterlabs/hardhat-zksync-ethers": "^1.2.1", "@matterlabs/hardhat-zksync-node": "^1.2.1", - "@matterlabs/hardhat-zksync-solc": "^1.2.4", + "@matterlabs/hardhat-zksync-solc": "^1.2.5", "@matterlabs/hardhat-zksync-verify": "^1.7.1", "@nomicfoundation/hardhat-toolbox": "^5.0.0", "@openzeppelin/contracts": "^3.4.0", diff --git a/package.json b/package.json index 9cac52afe..1d7ffd39d 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@matterlabs/hardhat-zksync-deploy": "^1.6.0", "@matterlabs/hardhat-zksync-ethers": "^1.2.1", "@matterlabs/hardhat-zksync-node": "^1.2.1", - "@matterlabs/hardhat-zksync-solc": "^1.2.4", + "@matterlabs/hardhat-zksync-solc": "^1.2.5", "@matterlabs/hardhat-zksync-verify": "^1.7.1", "@nomicfoundation/hardhat-toolbox": "^5.0.0", "@openzeppelin/contracts": "^3.4.0",