Repository navigation
Conversation
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 <noreply@anthropic.com>
5 of 24 tasks
technophile-04
approved these changes
Nov 23, 2026
technophile-04
left a comment
Collaborator
There was a problem hiding this comment.
LGTM, thanks Rinat! Checked the peer deps on npm: 2.0.24 is the last one that takes rocketh 0.19 (2.0.25 already wants 0.20), so the exact pin makes sense. One heads-up: #448 still has "hardhat-deploy": "^2.0.30", which resolves to 2.4.0 and would hit the same HHE202. It should probably be ~2.0.30 like the migration branch. After this is released we'll bump the challenges to create-eth@2.0.24.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New Hardhat projects can't deploy.
yarn deployfails with:The Hardhat template allows
hardhat-deploy@^2.0.6. Generated projects have no lockfile, so they get the newest 2.x, which is 2.3.0 today.hardhat-deployraises therockethversion it needs even in patch releases (2.0.25 already needsrocketh0.20), while the template installsrocketh0.19. 2.0.24 is the newesthardhat-deploythat works with it, so this PR pins that exact version.How to test
Checked locally on this branch:
hardhat:test,chain+deploy,hardhat:lint,next:lint,next:check-typespass;-s hardhat -e scaffold-eth/se-2-challenges:challenge-tokenization:hardhat:testandchain+deploypass.Notes
Why this goes straight into
create-eth, and why the version differs from scaffold-eth-2. Usually a change is made in scaffold-eth-2 first, then backmerged here and released. This time scaffold-eth-2 itself is not broken: its lockfile keepshardhat-deployat 2.0.30, and itsrockethpackages are newer (updated in Deps update: hardhat 3.18, rocketh 0.23, TypeScript 6, ESLint 10, nextjs minors scaffold-eth-2#1326). That update has not reachedmainhere: the backmerge that carries it (backmerge 14-10-26 #448) goes into the migration branch (Merge create-eth into this repository scaffold-eth-2#1338) instead, as planned in [WIP] Merge create-eth into this repository scaffold-eth-2#1336. So for now the two templates need differenthardhat-deployversions:mainhere (rocketh0.19):2.0.24, this PR;rocketh0.23):~2.0.30, already pinned there.When this PR is merged into the migration branch, the conflict on this line is resolved to
~2.0.30, and the versions match again.Speedrun Ethereum challenges pinned to
create-eth@2.0.23can't deploy their contracts locally either.yarn deployfails withHHE202(checked withchallenge-tokenization). A new release does not reach them: once this PR is released as 2.0.24, the challenges need their pin bumped to it.🤖 Generated with Claude Code