Conversation
There was a problem hiding this comment.
Pull request overview
This PR upgrades the multi-chain deployment infrastructure and artifacts for Merkl’s DistributionCreator/Distributor implementations, adds a Polygon-specific implementation variant, and refreshes various deployment scripts, docs, and metadata.
Changes:
- Centralizes and expands the supported chain list in
UpgradeDeploymentBaseand aligns the multi-chain deployment shell script (deployUpgradeImplementations.sh) and.envconventions to useETH_NODE_URI_<CHAIN_ID>, adding skip/idempotency behavior. - Introduces a conditional deployment of
DistributionCreatorWithDistributionson Polygon (chain ID 137) while keepingDistributionCreatorfor other chains, and updates deployment helper scripts for middleman and pull-token-wrapper flows. - Adds a large set of new deployment logs/JSONs for the 27 Jan 2026 upgrade batch and updates docs (UPGRADE_DEPLOYMENT.md, README) and CI env wiring accordingly.
Reviewed changes
Copilot reviewed 124 out of 181 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
scripts/utils/UpgradeDeploymentBase.s.sol |
Expands the canonical chain configuration list and adds Polygon-only deployment of DistributionCreatorWithDistributions while preserving Distributor deployment flow. |
scripts/deployStandardMiddleman.s.sol |
Updates the default CampaignParameters (reward token, type, duration, campaignData) for the standard middleman deployment template. |
scripts/deployPullTokenWrapper.s.sol |
Points the script to the ink RPC alias, switches underlying/holder addresses, and toggles to deploy a fresh PullTokenWrapperAllow implementation instead of reusing a mainnet one. |
helpers/deployUpgradeImplementations.sh |
Refactors the multi-chain deploy script to load .env, map chain names to chain IDs, use ETH_NODE_URI_<CHAIN_ID> variables, skip re-deploying chains with existing JSON, and use legacy transactions. |
contracts/partners/tokenWrappers/weth.sol |
Lowers the pragma from ^0.8.20 to ^0.8.18, likely to allow compilation for chains without EIP-3855/PUSH0. |
contracts/Disputer.sol |
Lowers the pragma from ^0.8.19 to ^0.8.18 for similar compiler/EVM compatibility reasons. |
UPGRADE_DEPLOYMENT.md |
Documents the 27 Jan 2026 upgrade run, its success/verification status, and simplifies the prerequisite env description while pointing to updated deployment tooling. |
README.md |
Updates the audits section to reference both the 2023 and 2025 Code4rena reports. |
.github/workflows/coverage.yml |
Removes the now-unused OPTIMISM_NODE_URI env from coverage runs while keeping Arbitrum/Base forks. |
.github/workflows/ci.yml |
Same as above for the main CI workflow. |
.github/workflows/ci-deep.yml |
Same as above for the deep CI workflow. |
.env.example |
Aligns env naming to a single ETHERSCAN_API_KEY and ETH_NODE_URI_<CHAIN_ID> convention to match the updated helper scripts. |
deployments/upgrade-270126/* (logs & JSON) |
Adds artifacts for the 27 Jan 2026 upgrade run across many chains (deployment logs, implementation JSONs, and some Gnosis Safe batch JSONs) used operationally for upgrades and verification. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
90d42ce to
c865200
Compare
clmntsnr
approved these changes
Feb 5, 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.
No description provided.