Skip to content

chore: add ton to mcms chain access adapter#715

Merged
gustavogama-cll merged 1 commit intomainfrom
ggama/chore/add-ton-mcms-chain-access-adapter
Feb 6, 2026
Merged

chore: add ton to mcms chain access adapter#715
gustavogama-cll merged 1 commit intomainfrom
ggama/chore/add-ton-mcms-chain-access-adapter

Conversation

@gustavogama-cll
Copy link
Contributor

@gustavogama-cll gustavogama-cll commented Feb 6, 2026

Add a new TonChain() method to the ChainFetcher interface defined in the mcms/adapters package to ease integration with mcms's chain wrappers utilities.


OPT-398

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2026

🦋 Changeset detected

Latest commit: 859ed9c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
chainlink-deployments-framework Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gustavogama-cll gustavogama-cll force-pushed the ggama/chore/add-ton-mcms-chain-access-adapter branch from 761311c to 859ed9c Compare February 6, 2026 05:15
@cl-sonarqube-production
Copy link

@gustavogama-cll gustavogama-cll marked this pull request as ready for review February 6, 2026 17:11
@gustavogama-cll gustavogama-cll requested a review from a team as a code owner February 6, 2026 17:11
Copy link
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

This PR adds TON blockchain support to the MCMS chain access adapter by introducing a new TonChains() method to the ChainFetcher interface and implementing a corresponding TonClient() accessor method.

Changes:

  • Added TonChains() method to the ChainsFetcher interface
  • Implemented TonClient() method in ChainAccessAdapter to retrieve TON API clients by selector
  • Added comprehensive test coverage for the new TON chain functionality

Reviewed changes

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

File Description
chain/mcms/adapters/chain_access.go Added TonChains() to interface and implemented TonClient() accessor method
chain/mcms/adapters/chain_access_test.go Added test cases for TON chain lookup with known and unknown selectors
.changeset/red-impalas-slide.md Added changeset entry documenting the addition of TON support

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

@gustavogama-cll gustavogama-cll added this pull request to the merge queue Feb 6, 2026
Merged via the queue into main with commit 124dfef Feb 6, 2026
20 checks passed
@gustavogama-cll gustavogama-cll deleted the ggama/chore/add-ton-mcms-chain-access-adapter branch February 6, 2026 17:20
github-merge-queue bot pushed a commit that referenced this pull request Feb 6, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## chainlink-deployments-framework@0.80.0

### Minor Changes

-
[#713](#713)
[`643bbb7`](643bbb7)
Thanks [@bytesizedroll](https://github.com/bytesizedroll)! - refactor:
update stale migration terminology to changeset

    Replace legacy "migration" terminology with "changeset" throughout
    comments, variable names, and error messages for consistency with
    durable pipelines.

    Changes include:

    -   Rename function params: loadMigration → loadChangesets
    -   Rename variables: migDirPath → dirPath, migration → registry
    -   Rename test mocks: mockMigrationDS → mockSourceDS
    -   Update doc comments and error messages
    -   Remove dead commented-out migration test code

### Patch Changes

-
[#707](#707)
[`52eb9f5`](52eb9f5)
Thanks [@patricios-space](https://github.com/patricios-space)! - bump
chainlink-ton and mcms to bring latest version that uses new exit code
interface

-
[#705](#705)
[`50640db`](50640db)
Thanks [@bytesizedroll](https://github.com/bytesizedroll)! - remove
migration archive functionality

-
[#709](#709)
[`461acc5`](461acc5)
Thanks [@ajaskolski](https://github.com/ajaskolski)! - refactor: adds
modular cmd for datastore

-
[#715](#715)
[`124dfef`](124dfef)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - chore:
add ton to mcms chain access adapter

-
[#712](#712)
[`3584647`](3584647)
Thanks [@ecPablo](https://github.com/ecPablo)! - reduce log level of
skipping chains logs from WARN to INFO

-
[#710](#710)
[`3c33586`](3c33586)
Thanks [@ecPablo](https://github.com/ecPablo)! - fix nil values handling
during upf yaml marshalling

-
[#708](#708)
[`d357cb6`](d357cb6)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - fix:
run health check and try multiple RPCs in fork tests

-
[#711](#711)
[`a72317e`](a72317e)
Thanks [@bytesizedroll](https://github.com/bytesizedroll)! - Rename all
"Migration" terminology in domain layer methods to
    "Changeset" for consistency with durable pipelines terminology.

    EnvDir:

    -   MergeMigrationDataStore -> MergeChangesetDataStore
    -   MergeMigrationDataStoreCatalog -> MergeChangesetDataStoreCatalog
    -   MergeMigrationAddressBook -> MergeChangesetAddressBook
    -   RemoveMigrationAddressBook -> RemoveChangesetAddressBook

    ArtifactsDir:

    -   MigrationDirPath -> ChangesetDirPath
    -   CreateMigrationDir -> CreateChangesetDir
    -   RemoveMigrationDir -> RemoveChangesetDir
    -   MigrationDirExists -> ChangesetDirExists
- MigrationOperationsReportsFileExists ->
ChangesetOperationsReportsFileExists
    -   LoadAddressBookByMigrationKey -> LoadAddressBookByChangesetKey
    -   LoadDataStoreByMigrationKey -> LoadDataStoreByChangesetKey

    Internal helpers:

    -   loadDataStoreByMigrationKey -> loadDataStoreByChangesetKey
    -   loadAddressBookByMigrationKey -> loadAddressBookByChangesetKey

    Parameter renames: migKey/migkey -> csKey

    BREAKING CHANGE: All public domain layer methods with "Migration" in
    their name have been renamed to use "Changeset" instead. Update all
    callers to use the new method names.

---------

Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@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.

2 participants