Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verification of contract with hardhat-etherscan broken again #2465

Closed
JEflyer opened this issue Mar 8, 2022 · 11 comments
Closed

verification of contract with hardhat-etherscan broken again #2465

JEflyer opened this issue Mar 8, 2022 · 11 comments
Assignees

Comments

@JEflyer
Copy link

JEflyer commented Mar 8, 2022

When verifying my contract 5 days ago it worked, then it broke & started working again & now it has broke again.

Is there a ETA for this to be stable & working again?

I've updated to the latest version of hardhat-etherscan & tried previous versions with no working result.

@JEflyer
Copy link
Author

JEflyer commented Mar 8, 2022

The error I'm receiving is the same as I got when it last broke.

NomicLabsHardhatPluginError: The contract verification failed.
Reason: Fail - Unable to verify

@oishun1112
Copy link

I'm having the same issue.

@JEflyer
Copy link
Author

JEflyer commented Mar 8, 2022

Good to know I'm not the only one :')

@laygir
Copy link

laygir commented Mar 8, 2022

Same issues here 😔

@fvictorio
Copy link
Member

@JEflyer in which network are you trying to verify the contract?

@fvictorio
Copy link
Member

I was able to verify a contract on Rinkeby. We'll need a minimal reproducible example to be able to investigate this. Please don't add "same issue" comments unless you can provide one.

@italosantana
Copy link

Same issues here! I was able to verify a contract on Rinkeby and Ropsten.

@fvictorio
Copy link
Member

@italosantana did you read what I wrote before commenting?

@laygir
Copy link

laygir commented Mar 8, 2022

Hey @fvictorio

Just created a new repo to test from scratch. Both rinkeby and ropsten contract verification seems to be working at the moment.

I had issues earlier for about 12 hours and had stopped trying until now. If I remember correctly I was getting 403 with some html page throw as the error in the console.

If I encounter it again I'll post a screenshot and a reproduction case. Maybe it had to do with Etherscan api's. Perhaps error logging could be improved if Etherscan was the cause to make it clear that it has nothing to do with Hardhat but the underlying api is having issues.

@italosantana

This comment was marked as off-topic.

@oishun1112
Copy link

@JEflyer @fvictorio
Hi, now I can verify my code.

Yesterday, I failed verifying code that I could verify before, so I imagine that was something internal.
Anyway, it works now so I think we can close this issue

@JEflyer JEflyer closed this as completed Mar 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants