Skip to content

[Contract Verification] <Title> #898

Discussion options

You must be logged in to vote

@novaknole Looking closer at your contracts from the main branch of the osx repo, it appears that PluginRepo.sol is being created from PluginRepoFactory.sol via .deployUUPSProxy(...) where an _initialOwner is being passed in.

With this in mind, be sure to pass in the constructor arguments when attempting to verify, e.g. npx hardhat verify --config hardhat-zksync.config.ts --network zksyncSepolia 0x3eEBec312413D4e15122C6D35fE1eA6fa607D159 0x00000000000000000000000022ee909b94c5faeee67b7e187ca81e5a291a9ec0

Also, looking at the PluginRepoRegistry, this contract was made with zksolc 1.4.1 and not 1.5.0 as pointed out.

Furthermore, taking the single-file code output you listed above there's an …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sarahschwartz
Comment options

@novaknole
Comment options

@sarahschwartz
Comment options

@MexicanAce
Comment options

Answer selected by MexicanAce
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
3 participants