chore: add ton to mcms chain access adapter#715
Conversation
🦋 Changeset detectedLatest commit: 859ed9c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
761311c to
859ed9c
Compare
|
There was a problem hiding this comment.
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 theChainsFetcherinterface - Implemented
TonClient()method inChainAccessAdapterto 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.
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>




Add a new
TonChain()method to theChainFetcherinterface defined in themcms/adapterspackage to ease integration with mcms's chain wrappers utilities.OPT-398