Skip to content

Conversation

@rokso
Copy link
Contributor

@rokso rokso commented Jun 10, 2025

This PR adds support for contract verification via etherscan V2 API.

  • hardhat-verify dependency is updated to latest
  • chainid param is added in etherscan API call.

Fixes #1165

Copy link
Member

@ericglau ericglau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I tested this out and it works great. The latest version of hardhat-verify itself has a peer dependency on hardhat ^2.24.1, so I also updated the peer dependencies for both.

@ericglau ericglau requested a review from CoveMB June 11, 2025 13:58
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License

View full report

@CoveMB
Copy link
Contributor

CoveMB commented Jun 12, 2025

Thanks 🌻

@ericglau ericglau merged commit dd917e2 into OpenZeppelin:master Jun 12, 2025
13 of 14 checks passed
@rokso rokso deleted the etherscan-v2 branch August 26, 2025 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

With the updated version of etherscan V1 -> V2 the chainId is missing

3 participants