Skip to content

feat: link token#30

Merged
ChrisAmora merged 1 commit into
mainfrom
feat/link-token
May 5, 2026
Merged

feat: link token#30
ChrisAmora merged 1 commit into
mainfrom
feat/link-token

Conversation

@ChrisAmora
Copy link
Copy Markdown
Contributor

@ChrisAmora ChrisAmora commented May 5, 2026

Summary

Port LINK token deployment changesets from Chainlink core into cld-changesets/link/changesets.

Migrated:

  • DeployLinkToken
  • DeployStaticLinkToken
  • DeploySolanaLinkToken

Changes

  • Preserve legacy public API and comments.
  • Keep legacy AddressBook output.
  • Add CLDF DataStore output.

@ChrisAmora ChrisAmora marked this pull request as ready for review May 5, 2026 12:08
@ChrisAmora ChrisAmora requested a review from a team as a code owner May 5, 2026 12:08
Copilot AI review requested due to automatic review settings May 5, 2026 12:08
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

Ports LINK token deployment changesets into cld-changesets/link/changesets, keeping the legacy AddressBook output while also emitting CLDF DataStore address refs.

Changes:

  • Added EVM LINK token deployment changesets (DeployLinkToken, DeployStaticLinkToken) with selector validation and existing-state checks.
  • Added Solana LINK token mint creation changeset (DeploySolanaLinkToken) with AddressBook + DataStore outputs.
  • Updated Go module dependencies (notably adding golang.org/x/sync for errgroup).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
link/changesets/deploy_link_token.go Introduces LINK token deployment changesets for EVM and Solana plus shared validation/output helpers.
link/changesets/deploy_link_token_test.go Adds tests covering deployments, selector validation, and “existing state” rejection behavior.
go.mod Adds golang.org/x/sync and records additional dependency graph updates.
go.sum Updates dependency checksums consistent with go.mod changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +50 to +60
deployGrp.Go(func() error {
deploy, err := deployLinkTokenContractEVM(
e.Logger, e.BlockChains.EVMChains()[chain], out.AddressBook, //nolint:staticcheck // SA1019: legacy changeset still supports AddressBook output.
)
if err != nil {
e.Logger.Errorw("Failed to deploy link token", "chain", chain, "err", err)

return fmt.Errorf("failed to deploy link token for chain %d: %w", chain, err)
}

return saveAddressRef(out.DataStore, chain, deploy.Address.String(), linkTokenTypeAndVersion(), "")
@ChrisAmora ChrisAmora merged commit 07345c1 into main May 5, 2026
17 checks passed
@ChrisAmora ChrisAmora deleted the feat/link-token branch May 5, 2026 18:20
jkongie added a commit that referenced this pull request May 6, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.0](cld-changesets-v0.0.1...cld-changesets-v0.1.0)
(2026-05-06)


### Features

* add "catalog create chain metadata" changeset
([#36](#36))
([c12bb51](c12bb51))
* add catalog create contract metadata changeset
([#27](#27))
([8ec1cbc](8ec1cbc))
* add CRE workflow deploy changeset and operation
([#1](#1))
([960fde1](960fde1))
* add target name param to cre deploy changeset
([#3](#3))
([8b25662](8b25662))
* fund mcms pdas
([#22](#22))
([821e542](821e542))
* **jobspec:** port jobspec changesets from chainlink
([#21](#21))
([0ce3f74](0ce3f74))
* link token
([#30](#30))
([07345c1](07345c1))
* **pkg:** add contract constants and Solana MCMS state loading
([#5](#5))
([6a2bbee](6a2bbee))
* port BuildProposalFromBatchesV2
([#24](#24))
([28d53d7](28d53d7))
* port run changeset from chainlink
([#32](#32))
([693922f](693922f))
* port solana grant role
([#33](#33))
([7eca5be](7eca5be))
* port token approve
([#40](#40))
([04130de](04130de))
* **port:** firedrill mcms with operations api refactor
([#25](#25))
([6d9010c](6d9010c))
* **solana:** add SOL funding helpers for deployer transfers
([#19](#19))
([63bebf8](63bebf8))
* **solana:** port over mcms pda loader
([#11](#11))
([7170ddc](7170ddc))


### Bug Fixes

* **aptos:** move state load
([#8](#8))
([de58102](de58102))
* **evm:** port state load evm funcs
([#9](#9))
([99279f1](99279f1))
* **state:** restore addressbook usage
([#17](#17))
([017cd5e](017cd5e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: app-token-issuer-ops-platform[bot] <275822481+app-token-issuer-ops-platform[bot]@users.noreply.github.com>
Co-authored-by: James Kong <61834+jkongie@users.noreply.github.com>
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