Skip to content

Update v1.7 ref to v2.0#22193

Merged
0xsuryansh merged 1 commit intodevelopfrom
v17_v20
Apr 27, 2026
Merged

Update v1.7 ref to v2.0#22193
0xsuryansh merged 1 commit intodevelopfrom
v17_v20

Conversation

@0xsuryansh
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 27, 2026 16:40
@0xsuryansh 0xsuryansh requested review from a team as code owners April 27, 2026 16:40
@github-actions
Copy link
Copy Markdown
Contributor

👋 0xsuryansh, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

CORA - Pending Reviewers

All codeowners have approved! ✅

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

Copy link
Copy Markdown
Contributor

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

Risk Rating: LOW

Updates CCIP deployment logic to treat USDCTokenPoolProxy as version 2.0.0 (instead of 1.7.0) across shared version constants, on-chain state loading, and candidate changeset validation/tests.

Changes:

  • Replace deployment.Version1_7_0 with deployment.Version2_0_0 and introduce the 2.0.0 semver constant.
  • Update CCIP token pool version allowlist and on-chain stateview switch cases for USDCTokenPoolProxy.
  • Update v1_6 candidate changeset logic and tests to read/write datastore refs using 2.0.0.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
deployment/version.go Replaces the previously referenced 1.7.0 constant with 2.0.0.
deployment/ccip/shared/token_pools.go Updates the supported token pool version set to include 2.0.0.
deployment/ccip/shared/stateview/state.go Loads USDCTokenPoolProxy state using type+version 2.0.0.
deployment/ccip/changeset/v1_6/cs_ccip_home.go Updates candidate changeset validation/datastore lookup to use 2.0.0 for USDCTokenPoolProxy.
deployment/ccip/changeset/v1_6/cs_ccip_home_test.go Updates assertions and datastore refs to use 2.0.0.

Scrupulous human review areas:

  • Confirm the on-chain TypeAndVersion() returned by USDCTokenPoolProxy deployments is expected to be USDCTokenPoolProxy 2.0.0 (so stateview.LoadChainState will correctly classify the contract).

@0xsuryansh 0xsuryansh enabled auto-merge April 27, 2026 16:49
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 27, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

Failed Test Failure Summary Logs
Test_CCIP_Upgrade_NoBlock_EVM2Sui/OffRamp,_CCIP_FQ_upgraded_NoBlock:_Message_to_Sui_-_Should_Succeed Logs ↗︎
Test_CCIP_Upgrade_NoBlock_EVM2Sui Logs ↗︎

View Full Report ↗︎Docs

@0xsuryansh 0xsuryansh added this pull request to the merge queue Apr 27, 2026
@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
13.09% Technical Debt Ratio on New Code (required ≤ 4%)
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarQube IDE SonarQube IDE

Merged via the queue into develop with commit 62a4f83 Apr 27, 2026
205 of 209 checks passed
@0xsuryansh 0xsuryansh deleted the v17_v20 branch April 27, 2026 17:18
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.

8 participants