Skip to content

link token changeset update#22687

Draft
ChrisAmora wants to merge 2 commits into
developfrom
feat/link-token-changeset-update
Draft

link token changeset update#22687
ChrisAmora wants to merge 2 commits into
developfrom
feat/link-token-changeset-update

Conversation

@ChrisAmora
Copy link
Copy Markdown
Contributor

This pull request refactors how LINK token deployment changesets are referenced and configured throughout the CCIP deployment codebase. The main focus is to standardize the usage of the new DeployLinkTokenChangeset and its input configuration, replacing the older DeploySolanaLinkToken and DeployLinkToken patterns, and to update import paths accordingly. Additionally, there is an enhancement to the way LINK token addresses are merged from the DataStore.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

CORA - Pending Reviewers

Codeowners Entry Overall Num Files Owners
/deployment/ 1 @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/keystone, @smartcontractkit/operations-platform, @smartcontractkit/core
/deployment/ccip/ 11 @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/operations-platform, @smartcontractkit/core
go.mod 5 @smartcontractkit/core, @smartcontractkit/foundations
go.sum 5 @smartcontractkit/core, @smartcontractkit/foundations
integration-tests/go.mod 1 @smartcontractkit/core, @smartcontractkit/devex-tooling, @smartcontractkit/foundations
integration-tests/go.sum 1 @smartcontractkit/core, @smartcontractkit/devex-tooling, @smartcontractkit/foundations

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

For more details, see the full review summary.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 29, 2026

✅ No conflicts with other open PRs targeting develop

@ChrisAmora ChrisAmora marked this pull request as ready for review May 29, 2026 16:36
Copilot AI review requested due to automatic review settings May 29, 2026 16:36
@ChrisAmora ChrisAmora requested review from a team as code owners May 29, 2026 16:36
@ChrisAmora ChrisAmora marked this pull request as draft May 29, 2026 16:37
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

Updates the LINK token deployment changesets used throughout CCIP deployment code to the new unified DeployLinkTokenChangeset API from cld-changesets v0.5.0, and adds a DataStore fallback for resolving LINK token addresses when loading on-chain state.

Changes:

  • Bumps cld-changesets from v0.4.0 to v0.5.0 and updates import paths from link/changesets to tokens/link/changesets.
  • Replaces all uses of legacy DeployLinkToken/DeploySolanaLinkToken/DeployStaticLinkToken with the unified DeployLinkTokenChangeset{} + DeployLinkTokenInput{EVM, Solana} shape.
  • Adds DataStore-based LINK/StaticLink address merging (with address-book precedence) in stateview/state.go (EVM and Solana paths) and in cs_grant_and_mint_link_token.go.

Reviewed changes

Copilot reviewed 13 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
deployment/go.mod Bumps cld-changesets to v0.5.0.
deployment/go.sum Updates checksums for v0.5.0.
deployment/environment/crib/ccip_deployer.go Migrates EVM + Solana LINK deploys to new changeset/input shape.
deployment/ccip/shared/stateview/state.go Merges DataStore LINK/StaticLink into address map for both EVM and Solana loaders.
deployment/ccip/shared/stateview/evm/validate_feequoter_test.go Updates import path and migrates EVM deploy to new input shape.
deployment/ccip/changeset/v1_6/cs_translate_onramp_to_feequoter_test.go Same migration in test helper.
deployment/ccip/changeset/v1_6/cs_deploy_registry_module_test.go Updates all DeployLinkToken call sites to the new shape.
deployment/ccip/changeset/v1_6/cs_deploy_chain_test.go Same migration.
deployment/ccip/changeset/v1_6/cs_add_registry_module_test.go Same migration across multiple cases.
deployment/ccip/changeset/testhelpers/test_environment.go Migrates EVM (incl. static-link variant) and Solana deploys.
deployment/ccip/changeset/solana_v0_1_1/transfer_ccip_to_mcms_with_timelock_test.go Migrates Solana LINK deploy.
deployment/ccip/changeset/solana_v0_1_1/cs_solana_token_test.go Migrates Solana LINK deploy.
deployment/ccip/changeset/solana_v0_1_1/cs_deploy_chain_test.go Migrates Solana LINK deploy.
deployment/ccip/changeset/cs_grant_and_mint_link_token.go Adds DataStore LINK fallback when loading addresses.

Comment thread deployment/ccip/changeset/cs_grant_and_mint_link_token.go
Comment thread deployment/ccip/shared/stateview/state.go Outdated
@github-actions
Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 29, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@ChrisAmora ChrisAmora force-pushed the feat/link-token-changeset-update branch from 3902ab6 to fc7c918 Compare May 29, 2026 18:07
@cl-sonarqube-production
Copy link
Copy Markdown

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

Copilot reviewed 18 out of 24 changed files in this pull request and generated no new comments.

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.

2 participants