Remove legacy Hardhat deployment scripts - #2983
Open
clement-ux wants to merge 3 commits into
Open
Conversation
clement-ux
requested review from
naddison36,
shahthepro and
sparrowDom
as code owners
August 25, 2026 14:33
This was referenced Aug 25, 2026
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.
Why
Deployments have moved to Foundry, but the repository still contained 129 old
hardhat-deployscripts and the helpers built around them. They were no longer the deployment system, yet generating@origin/deficould still load and execute that old pipeline.This PR removes the executable Hardhat deployment path while keeping the operational tools that still need historical deployment information.
What changes
contracts/deploy/**hardhat deployAt this point in the stack, ABI generation uses a clean Hardhat compilation only; follow-up #2985 replaces that final compilation with Foundry.
What stays
deployments/**is intentionally kept. These files are not executable deployment scripts: they are the address and ABI records used by Talos and other operational tasks to find existing contracts.hardhat-deployalso remains as a read-only adapter for those records. It is no longer used to deploy anything.Stack
This PR is intentionally based on #2982, not
master:Validation
@origin/defigeneration succeeds without executing deployments: 292 ABI filesexecuteandexecuteOnForkload successfullypnpm run test:tasks: 22 passingpnpm run test:scripts: 61 passingpnpm run test:layouts: 11 passingforge build contracts/ --force -j 1git diff --checkpass