Skip to content

[Contract Verification] Verify plugin reads incorrect number of constructor arguments #389

Discussion options

You must be logged in to vote

Hey @boyuanx , we have tried using our hardhat-zksync plugins and everything worked. It seems that the community plugin you are using for deploying (hardhat-deploy) doesn't handle the tx receipt in a proper way on zkSync, meaning it doesn't return the right address for the given contract and instead returns the address from one of the deployed upgradable beacons. We will try to contribute to that community plugin, but until then, you can use ours.
Also, you can check the logs of the deployed transaction; there, in one of them, you can find the correct address that you can use for your verification.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@boyuanx
Comment options

@mpopovac-txfusion
Comment options

Answer selected by boyuanx

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contract-verification Questions for contract verification
5 participants