Skip to content

refactor(deps): upgrade hardhat-deploy from v1.0.2 to v2.0.1#4

Open
s0wa48 wants to merge 1 commit intoCreativeBuilds:masterfrom
s0wa48:deps/upgrade-hardhat-deploy-2.0.1
Open

refactor(deps): upgrade hardhat-deploy from v1.0.2 to v2.0.1#4
s0wa48 wants to merge 1 commit intoCreativeBuilds:masterfrom
s0wa48:deps/upgrade-hardhat-deploy-2.0.1

Conversation

@s0wa48
Copy link

@s0wa48 s0wa48 commented Mar 3, 2026

Changes

Dependency Update

  • Bumps hardhat-deploy from ^1.0.2 to ^2.0.1 (major version upgrade)

Breaking Changes Addressed

hardhat-deploy v2 plugin registration

  • hardhat-deploy v2 separates the ethers integration into a companion package hardhat-deploy-ethers. Added explicit require("hardhat-deploy-ethers") import in hardhat.config.js to ensure the ethers extensions (e.g., hre.ethers.getNamedSigners(), hre.ethers.getContractAt() with deployment names) remain available after the upgrade.

Package version bump

  • Updated package.json to reference ^2.0.1

Notes

  • The namedAccounts and networks configuration in hardhat.config.js remains compatible with v2's expected config shape.
  • If hardhat-deploy-ethers is not already installed, run npm install --save-dev hardhat-deploy-ethers alongside this upgrade.
  • Review any deploy scripts under deploy/ that use hre.deployments.deploy() or hre.getNamedAccounts() for any v2-specific behavioral changes around gas estimation or proxy handling.

This PR was auto-generated by Gittensor upgrade bot using Claude AI

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.

1 participant