-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Verifying Solidity Libraries on zkSync #516
Comments
The |
Thanks for the information. We are aware of this issue and we are working together with the backend verification team to resolve it. |
Is Zk Sync library issue working now because i am still getting an error deploying a contract on zk sync |
Any update on this? |
Description
I am encountering an issue when attempting to verify a Solidity library on the zkSync network using the
@matterlabs/hardhat-zksync
plugin. While I was able to deploy a Solidity library (MathLib
) successfully, the verification process fails with an error indicating a bytecode mismatch. This issue seems specific to the verification of Solidity libraries, as I was able to verify a regular contract (Greeter
) without any problems.Steps to Reproduce
MathLib.sol
) and a dependent contract (Calculator.sol
).MathLib:
Calculator:
MathLib
library to the zkSync network:yarn hardhat deploy-zksync:libraries --private-key <private-key>
MathLib
library:yarn hardhat verify <MathLib address> --contract contracts/MathLib.sol:MathLib
. My library was deployed to0xE6f95768D5BADC7561EC7Fb6BCE2459F0fF69CDc
The text was updated successfully, but these errors were encountered: