Closed biznickman closed 2 years ago
Same having this issue as well. Verify is not working
Similar issue for me, any words on this?
same issue for me.
+1
same for me
gm all, it does seem to be an API issue on Etherscan's end, we're looking into it at the moment!
Same here.
Same problem here. I cannot verify on Rinkeby, Kovan or Mainnet
I got an issue too. The verify task get stuck at "Waiting for verification result...". Tried on bsc testnet and ropsten.
Facing the same issue. Was able to verify my contracts on Rinkeby last night
facing same issue. I've also added on question on ethereum.stackexchange
Facing this across
hardhat version 2.6.8 Having the same issue on rinkeby after compilation of contracts "Successfully submitted source code for contract XYZ for verification on Etherscan. Waiting for verification result..." Etherscan API key has not reached its rate limit.
Update: After 45min and ctrl+c interupting the procedure i was surprised to see the contract is verified on etherscan
Update2: tested the verification plugin again The submitted contract gets verified after a couple of minutes ! which is great. The commandline script does not indicate that though , like it used to, and seems to be stuck on something/waiting for something.
seems like it is fixed. I have just checked and all of my previous submissions have already been verified 🚀
Not for any new deployments, it is still taking forever for them to be verified. Average time it takes to verify is around 16h right now
seems to be back up, my contract is also verified thanks @etherscan team
No this is not resolved for me still takes a long time to verify
Quick update on things, we've patched what we needed to on our end, our contract verification engine should be catching up on the backlog.
All previous verifications should have caught up now, and newer ones can be submitted via API as before.
Tested it to be working on @nomiclabs/hardhat-etherscan": "^2.1.8"
, feel free to ping if anyone's still having issues!
All previous verifications should have caught up now, and newer ones can be submitted via API as before.
Tested it to be working on
@nomiclabs/hardhat-etherscan": "^2.1.8"
, feel free to ping if anyone's still having issues!
Alright, will try it out. Been having issues verifying my smart contract
This seems to be happening to us now too. Just hangs on Waiting for verification result...
on mumbai.
Haven't tried leaving it for 16 hours yet though :laughing:
EDIT: after 5 or so hours, the terminal displayed:
Error in plugin @nomiclabs/hardhat-etherscan: The Etherscan API responded with a failure status. The verification may still succeed but should be checked manually. Reason: Already Verified
And the contract was indeed verified. It may have been due to a previous verify
attempt, I'm not sure.
This seems to be happening to us now too. Just hangs on Waiting for verification result... on Mumbai.
Same here. On version 3.0.0
Happening for us too on 3.0.0. Verifying on Rinkeby. Hangs forever on "for verification on the block explorer. Waiting for verification result..." until eventually error-ing out with:
The verification may still succeed but should be checked manually. Reason: The HTTP server response is not ok. Status code: 403 Response
Could it be similar to this issue? https://stackoverflow.com/questions/69312369/etherscan-api-request-403-forbidden-in-ropsten-network
Was working fine about ~1 month ago.
Can confirm we had some downtime on the contract verification APIs again earlier, quickly double-checked it and it should be up now
Is there any solution to this issue?, I have hours trying to do this.
Nothing to compile Compiling 1 file with 0.8.11 Successfully submitted source code for contract contracts/SVGNFT.sol:SVGNFT at 0xEefdf0a8Bb1C3f282b9af252Ff262D9C1604233e for verification on the block explorer. Waiting for verification result...
We tried verifying your contract SVGNFT without including any unrelated one, but it failed. Trying again with the full solc input used to compile and deploy it. This means that unrelated contracts may be displayed on Etherscan...
Successfully submitted source code for contract contracts/SVGNFT.sol:SVGNFT at 0xEefdf0a8Bb1C3f282b9af252Ff262D9C1604233e for verification on the block explorer. Waiting for verification result...
Error in plugin @nomiclabs/hardhat-etherscan: The contract verification failed. Reason: Fail - Unable to verify.
EDIT:
I just made a downgrade to hardhat package to version 2.6.1 and downgrade to @nomiclabs/hardhat-etherscan to 2.1.8 and it is verifying the contract. Also I made a downgrade of the compiler to 0.8.2 in the contract file and hardhat config file.
@juanjlunar sounds like a separate issue as you are receiving a response from the APIs Reason: Fail - Unable to verify.
Likely had to do with your compiler version, as you have to specify a source code with the same compiler settings used in deployment.
I am also receiving a Reason: Fail - Unable to verify
on Polygon mainnet (polygonscan). This is strange because we are using the same contract with no modifications and earlier we were able to make it work.
try npx hardhat clean
and then npx hardhat compile
(or deploy
) and then try verifying. Other than that, I havent had any issues verifying. hope you figure it out.
Having the same issue with v3.0.1. Not sure what to do right now (rinkeby)
There seems to be a bug currently with etherscan rinkeby verification api, I am using the same version of hardhat-etherscan for the past 6 months and all contracts verified fine until the past 2 days @0xV4L3NT1N3
I am getting result: "Fail - Unable to verify"
for contract address 0x008692363bc9c3f74cada14f73cc2a4cca2dd647
I just start and learn about smart contract. Please correct me if I'm worng with Smart Contract concept when we create and verify.
The issuse above happen when we have deployed and verified with the exist of your previous contract or the same contract of someone. I faced the same problem. But I have make a small changed in the contract by add more variable or something else. Then start redeploy and verify, it worked fine.
I think here is the reason that it always show when we try to verify and we got the error message Error in plugin @nomiclabs/hardhat-etherscan: The Etherscan API responded with a failure status. The verification may still succeed but should be checked manually. Reason: Already Verified
For make sure the contract is exist or not, I take the deployed contract address to check in etherscan and view on Contract tab, if it show as the image below, it's able to verify.
@donpdang could be a separate issue as you are receiving a response from the API, this thread was for the verification APIs getting stuck at submission.
Feel free to drop us a contact or if you can replicate it open an issue here.
@veasnabig welcome to web3 ! A quick glance and it seems your contract is already verified via Similar Match, which unfortunately can't be updated to Full Match at the moment ... though we are planning to reenable that.
I wrote a KB explaining this further!
Thanks @0xV4L3NT1N3 for sharing this document. I will explore more.
This issue was marked as stale because it didn't have any activity in the last 30 days. If you think it's still relevant, please leave a comment indicating so. Otherwise, it will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
npx hardhat --version 2.9.1
When I try to verify if contract, I saw this error. Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key
Make sure that the API key you copied from etherscan is correct
Make sure that the API key you copied from etherscan is correct
I copied correctly
If u copied correctly, try to see if ure importing and using it correctly in your code
You can also make the call separately in your browser or via Postman to isolate if it's an API key issue or somehwere else in your code.
When I try to verify if contract, I saw this error. Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key
"@nomiclabs/hardhat-etherscan": "^3.1.0"
same issue for me on "@nomiclabs/hardhat-etherscan": "^3.1.0"
I have the same issue "Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key". I am sure I am copying API Key correctly and I even tried creating other API key,s but got the same issue. I get the same issue when I try sending with cURL too. Please, help solve this one. Already 3rd day I cannot get my contract verifyed on any testnet (I tried rinekby, goerli, ropsten).
Try verifying your contract using remix
same issue "Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key". I am sure I am copying API Key correctly and I even tried creating other API key,s but got the s
I have been this case. When you compile the contract in hardat, you can find compile info in specific directory. You should copy and paste it in new json file. Next, you can verify using method by json file.
same issue "Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key". I am sure I am copying API Key correctly and I even tried creating other API key,s but got the s
I have been this case. When you compile the contract in hardat, you can find compile info in specific directory. You should copy and paste it in new json file. Next, you can verify using method by json file.
It would be great if you could just elaborate on how to verify it using JSON and where can I find the compile info?
I'm tolerating the same issue for several days.
npx hardhat verify --network goerli <my_contract_address> 'Hello World!'
Compiled 1 Solidity file successfully
Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key
For more info run Hardhat with --show-stack-traces
I tried to use a minimal example , it sill return failed.
who can help solve this issue please?
I'm tolerating the same issue for several days.
npx hardhat verify --network goerli <my_contract_address> 'Hello World!' Compiled 1 Solidity file successfully Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key For more info run Hardhat with --show-stack-traces
I tried to use a minimal example , it sill return failed.
who can help solve this issue please?
Exactly. I am struggling over this for days already. And this is not connected to hardhat or any other method of verification. It is etherscan issue I think, it returns the same error with cURL and Postman requests too. I have contacted Etherscan support for this. Will keep you all updated. Until then, if someone has any idea how to solve this...
what a pity 😢
here is my deps:
"dependencies": {
"dotenv": "^16.0.1",
"hardhat": "^2.10.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"ethers": "^5.6.9"
}
here is the minimal repo that can reproduce this issue: https://github.com/FrankFan/hello-world-hardhat
I tried from ropsten , rinkeny to goerli, all was failed ,the error msg still was Error in plugin @nomiclabs/hardhat-etherscan: Invalid API Key
I have no idea where the problem was. I'm confuesd.
any expert can help us ?
thank you 😮💨
When submitting
npx hardhat verify
the application has suddenly stopped verifying successfully. It then states "Error in plugin @nomiclabs/hardhat-etherscan: The Etherscan API responded with a failure status." Sometimes it replies "Forbidden" and other times just hangs with no error.Nothing has changed in the project and the workflow is the same. The hardhat etherscan discord also is reporting similar issues with no response.