Skip to content

Hardhat Upgrades: clarify ethers vs viem requirements#180

Merged
ericglau merged 1 commit into
OpenZeppelin:mainfrom
ericglau:fixexamplehh3configs
Jun 10, 2026
Merged

Hardhat Upgrades: clarify ethers vs viem requirements#180
ericglau merged 1 commit into
OpenZeppelin:mainfrom
ericglau:fixexamplehh3configs

Conversation

@ericglau

Copy link
Copy Markdown
Member

The functions of @openzeppelin/hardhat-upgrades take ethers contract factories and return ethers contracts, so projects that otherwise use viem still use connection.ethers when calling the plugin. Adds one sentence to each of the two viem callouts in the Hardhat Upgrades docs to clarify this; no other changes.

🤖 Generated with Claude Code

@ericglau ericglau requested a review from a team as a code owner June 10, 2026 19:42
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for openzeppelin-docs-v2 ready!

Name Link
🔨 Latest commit 01f7bde
🔍 Latest deploy log https://app.netlify.com/projects/openzeppelin-docs-v2/deploys/6a29be15e9700f0008ebe99b
😎 Deploy Preview https://deploy-preview-180--openzeppelin-docs-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@stevep0z stevep0z left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM. Thanks!

@ericglau ericglau merged commit 978970e into OpenZeppelin:main Jun 10, 2026
5 checks passed
@ericglau ericglau deleted the fixexamplehh3configs branch June 10, 2026 19:53
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.

2 participants