Skip to content

chore: Deployment upgrade#151

Merged
sogipec merged 16 commits intomainfrom
deployment-upgrade
Feb 5, 2026
Merged

chore: Deployment upgrade#151
sogipec merged 16 commits intomainfrom
deployment-upgrade

Conversation

@sogipec
Copy link
Copy Markdown
Contributor

@sogipec sogipec commented Jan 28, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 28, 2026 15:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 UpgradeDeploymentBase and aligns the multi-chain deployment shell script (deployUpgradeImplementations.sh) and .env conventions to use ETH_NODE_URI_<CHAIN_ID>, adding skip/idempotency behavior.
  • Introduces a conditional deployment of DistributionCreatorWithDistributions on Polygon (chain ID 137) while keeping DistributionCreator for 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.

Comment thread deployments/upgrade-270126/mezo-upgrade-implementations.json
@sogipec sogipec force-pushed the deployment-upgrade branch from 90d42ce to c865200 Compare January 28, 2026 16:27
@sogipec sogipec merged commit 42c7287 into main Feb 5, 2026
3 checks passed
@sogipec sogipec deleted the deployment-upgrade branch February 5, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants