wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 292 forks source link

Sourcify - Contract is not verified error message #433

Open AlissonRS opened 1 year ago

AlissonRS commented 1 year ago

Describe the bug Trying to verify a contract via Sourcify results in "contract XXXXXX is not verified".

To Reproduce Steps to reproduce the behavior:

  1. Deployed my contract using a deploy script
  2. I can see the contract in the deployments folder, all good here
  3. Run hardhat sourcify --network optimism

Expected behavior It should verify the contract on Sourcify.

versions

Additional context Contract Address: 0x8Ab7c947f59359462DffA202c89E67cd15c8896A

Screenshot: image

kuzdogan commented 1 year ago

Just came across this. Did you try verifying via the UI: https://docs.sourcify.dev/docs/how-to-verify/#with-hardhat-output

If that doesn't work, can you please share the hardhat build artifact under build-info folder? I can have a look