[Deployment] Latest version of Ethers (6.12.1) breaks deploying upgradeable contracts. #510
Replies: 3 comments 7 replies
-
Will check on this and get back to you. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hey guys, I have the exact same issue, but I have no external libraries. Or do you have any other ideas @bxpana ? I tried to:
And got the same result. |
Beta Was this translation helpful? Give feedback.
-
Hello @Archethect , I made some minor adjustments to the contract, particularly adding the interface that was missing. I copied the hardhat.config.ts and package.json files, and used both Yarn and npm to install dependencies. In both cases, I successfully deployed the proxy and transferred ownership. Could you add me to your repository so I can take a closer look at your setup? Note: I checked the zksync-ethers and ethers versions, and they match the versions you guys used and I think that is not a cause. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
Testnet
zkSolc Version
1.4.1
zksync-ethers Version
6.7.0
Hardhat.config.ts
Deployment Script (WITHOUT PRIVATE KEY)
Package.json
Contract Code
Does this work on other EVMs? (If yes, please list at least 1 of them)
Yes:
Description of What Your Contract Does
We are deploying a transparent upgradeable proxy which fails on estimating the gas for deployment with
Error: execution reverted (no data present; likely require(false) occurred (action="estimateGas", data="0x", reason="require(false)", transaction={ "data": "0x9c4d535b00000000000000000000000000000000000000000000000000000000000000000100059b33df5afb37e373dd250eff83c4f7eac60c15621b4a5e2696b4c2d1aa00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000", "from": "0x96B71AD6b177B9CA96AC7d9b25088F0A956Fa25A", "to": "0x0000000000000000000000000000000000008006" }, invocation=null, revert=null, code=CALL_EXCEPTION, version=6.12.1)
Repo Link (Optional)
No response
Additional Details
No response
Beta Was this translation helpful? Give feedback.
All reactions