From 0d7cc97c9edb0d24349dd63a26fac1193c78d9d4 Mon Sep 17 00:00:00 2001 From: Rinat Date: Thu, 19 Nov 2026 18:25:22 +0400 Subject: [PATCH] fix: pin hardhat-deploy to 2.0.24 in hardhat template hardhat-deploy >=2.0.25 needs rocketh >=0.20, template installs 0.19. Lockfile-less projects got 2.3.0 and yarn deploy failed with HHE202. Co-Authored-By: Claude Opus 5.5 --- .changeset/pin-hardhat-deploy.md | 5 +++++ .../hardhat/packages/hardhat/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/pin-hardhat-deploy.md diff --git a/.changeset/pin-hardhat-deploy.md b/.changeset/pin-hardhat-deploy.md new file mode 100644 index 000000000..43303f9eb --- /dev/null +++ b/.changeset/pin-hardhat-deploy.md @@ -0,0 +1,5 @@ +--- +"create-eth": patch +--- + +Pin `hardhat-deploy` to `2.0.24` in the Hardhat template. Newer `hardhat-deploy` releases need newer `rocketh` packages than the template has, so `yarn deploy` failed in new Hardhat projects with `HHE202`. diff --git a/templates/solidity-frameworks/hardhat/packages/hardhat/package.json b/templates/solidity-frameworks/hardhat/packages/hardhat/package.json index 1612566cd..9fa1b065d 100644 --- a/templates/solidity-frameworks/hardhat/packages/hardhat/package.json +++ b/templates/solidity-frameworks/hardhat/packages/hardhat/package.json @@ -51,7 +51,7 @@ "eslint-plugin-prettier": "^5.2.4", "ethers": "^6.13.2", "hardhat": "^3.4.5", - "hardhat-deploy": "^2.0.6", + "hardhat-deploy": "2.0.24", "mocha": "^11", "prettier": "^3.5.3", "prettier-plugin-solidity": "^1.4.1",