NONEVM-2403: Pass through mylocalton configs#580
Conversation
🦋 Changeset detectedLatest commit: 3d95bd8 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 |
There was a problem hiding this comment.
Pull Request Overview
This PR adds configurable parameters for TON localnet deployments to support version updates without framework modifications. The changes enable callers to customize the Docker image, retry counts, and environment variables for the CTF (Chainlink Testing Framework) TON provider.
Key changes:
- Added
RetryCountconfiguration option with a default of 5 retries for API client operations - Added Docker image configuration with validation to ensure only supported mylocalton-docker images are used
- Changed TON API client from concrete type to interface (
APIClientWrapped) to support retry wrapper functionality
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| chain/ton/ton_chain.go | Added retry count constant and changed Client field type to interface |
| chain/ton/provider/rpc_provider.go | Added retry count configuration and helper method for RPC provider |
| chain/ton/provider/rpc_provider_test.go | Added test coverage for retry count logic, constructor, and validation |
| chain/ton/provider/ctf_provider.go | Added image, retry count, and custom environment configurations for CTF provider |
| chain/ton/provider/ctf_provider_test.go | Added test coverage for image configuration helper |
| .changeset/good-cups-invite.md | Added changeset entry for the new feature |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // Only images from this repository are supported. | ||
| DefaultTONImage = "ghcr.io/neodix42/mylocalton-docker:v3.7" | ||
|
|
||
| // SupportedTONImageRepository is the only supported Docker image repository for TON localnet. | ||
| SupportedTONImageRepository = "ghcr.io/neodix42/mylocalton-docker" | ||
| ) |
There was a problem hiding this comment.
Should be private in case it gets referenced outside of this repo
| // Only images from this repository are supported. | |
| DefaultTONImage = "ghcr.io/neodix42/mylocalton-docker:v3.7" | |
| // SupportedTONImageRepository is the only supported Docker image repository for TON localnet. | |
| SupportedTONImageRepository = "ghcr.io/neodix42/mylocalton-docker" | |
| ) | |
| // Only images from this repository are supported. | |
| defaultTONImage = "ghcr.io/neodix42/mylocalton-docker:v3.7" | |
| // SupportedTONImageRepository is the only supported Docker image repository for TON localnet. | |
| supportedTONImageRepository = "ghcr.io/neodix42/mylocalton-docker" | |
| ) |
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
💡 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.67.0 ### Minor Changes - [#573](#573) [`f7a31c2`](f7a31c2) Thanks [@DimitriosNaikopoulos](https://github.com/DimitriosNaikopoulos)! - add grpc keepalive, retries and connection closure functionality - [#580](#580) [`0baab99`](0baab99) Thanks [@jadepark-dev](https://github.com/jadepark-dev)! - expose TON CTF configs to caller - [#577](#577) [`a1074b1`](a1074b1) Thanks [@jkongie](https://github.com/jkongie)! - Updates `go-ethereum` to v1.16.7 - [#579](#579) [`5d15395`](5d15395) Thanks [@giogam](https://github.com/giogam)! - feat: adds 'all' datastore config option --------- Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>


For bumping TON localnet version w/o updating frameworks smartcontractkit/chainlink-ton#373