Remove the Hardhat runtime - #3000
Open
clement-ux wants to merge 1 commit into
Open
Conversation
clement-ux
requested review from
naddison36,
shahthepro and
sparrowDom
as code owners
September 1, 2026 07:48
This was referenced Sep 1, 2026
clement-ux
force-pushed
the
chore/remove-hardhat-runtime
branch
from
September 1, 2026 08:04
7060c25 to
bd5133f
Compare
clement-ux
force-pushed
the
chore/remove-hardhat-runtime
branch
from
September 1, 2026 08:25
bd5133f to
97a06f0
Compare
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.
Plain-English summary
The previous layers have replaced both active reasons for keeping Hardhat:
pnpm ops;This PR removes the now-unused Hardhat packages, configuration, wrappers, and compatibility code. It is intentionally the last step: replacement behavior is introduced and tested before the old runtime is deleted.
Before and after
What changes in this PR
task/subtaskregistry;What must remain true
accountsremains a direct standalone command;FORK=true;hardhat.Stack and merge order
Base: #2999 (
chore/migrate-local-node-to-anvil)Merge in cascade: #3000 → #2999 → #2998 → #2997 →
master. Do not merge this PR directly intomaster.What to review
Please focus on completeness rather than replacement behavior, which is introduced in the parent layers:
Validation
pnpm install --frozen-lockfilepnpm test:tasks— 39 passingpnpm test:anvil— 3 passingpnpm test:brownie— 4 passingpnpm test:scripts— 66 passingpnpm test:layouts— 11 passingpnpm typecheckpnpm lint:js,pnpm lint:ts,pnpm prettier:checkforge build contracts/ -j 1master