wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.17k stars 283 forks source link

Verifying contract on Sourcify not working on BSC Mainnet #407

Open andrewalisa opened 1 year ago

andrewalisa commented 1 year ago

Describe the bug When I run: npx hardhat --network bsc sourcify

I don't even get feedback if this runs successfully or not. All I get is this (no feedback): image

Contract is already deployed on BSC Testnet and BSC Mainnet. The Contract is verified on the BSC Mainnet and BSC Testnet on Etherescan, but it is not verified on sourcify.

Also, I do have require("hardhat-deploy"); in my hardhat.config.js file

To Reproduce Steps to reproduce the behavior:

  1. execute: npx hardhat --network bsc sourcify
  2. There is no feedback, but my contract isn't verified on sourcify when I look it up.

Expected behavior I am expected to get some sort of feedback, whether or not my contract is verified on sourcify. When I run npx hardhat --network bsc sourcify, it doesn't verify on sourcify and I don't get any feedback

versions

Additional context Add any other context about the problem here.

kuzdogan commented 1 year ago

Can you please share the hardhat build artifact under build-info folder? I can have a look if this is related to the plugin or something to do with Sourcify