Skip to content

[Contract Verification] Cannot verify NonFungibleTokenPositionDescriptorAddressV1_3_0 deployed via uniswap-zksync/era-uniswap-deploy-v3 (Abstract Testnet) #669

Discussion options

You must be logged in to vote

@stephankmin I believe the issue is that you need to specify the NFTDescriptor library address, it's an external library so we are setting it in the runtime in the deploy script https://github.com/uniswap-zksync/era-uniswap-deploy-v3/blob/zksync-era/src/steps/deploy-nft-position-descriptor-v1_3_0.ts#L10 and then recompiling it.

But you can just add it to the hardhat config like this: https://docs.zksync.io/zksync-era/tooling/hardhat/guides/compiling-libraries#manual-deployment and rerun verification.

Regarding the bytecode difference - I think your script trying to parse the bytecode as an EVM bytecode, but it's EraVM bytecode. I believe there should be only one difference - a different l…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@bxpana
Comment options

Comment options

You must be logged in to vote
3 replies
@stephankmin
Comment options

@bxpana
Comment options

@stephankmin
Comment options

Comment options

You must be logged in to vote
1 reply
@stephankmin
Comment options

Answer selected by stephankmin
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