-
Notifications
You must be signed in to change notification settings - Fork 2
feat: load network_types from domain config
#338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: load network_types from domain config
#338
Conversation
🦋 Changeset detectedLatest commit: 5680f34 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 |
|
| } | ||
|
|
||
| // getLegacyNetworkTypes returns network types based on legacy switch logic. | ||
| func getLegacyNetworkTypes(env string, domain cldf_domain.Domain, lggr logger.Logger) ([]cldf_config_network.NetworkType, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current logic has been moved into its own method.
network_types from domain config
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.37.1 ### Patch Changes - [#338](#338) [`d207c3b`](d207c3b) Thanks [@giogam](https://github.com/giogam)! - feat: load network types from domain config - [#344](#344) [`cf1cc45`](cf1cc45) Thanks [@graham-chainlink](https://github.com/graham-chainlink)! - fix(operations): handle missing case causing Operations APi unable to serialize certain Marshalable struct - [#345](#345) [`ba11ea0`](ba11ea0) Thanks [@graham-chainlink](https://github.com/graham-chainlink)! - Migrated Dry Run JD Client from CLD --------- Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>




This PR updates
LoadNetworksto support the newly introduced domain config at/domains/.config/domain.yaml.Behavior:
The legacy logic based on predefined environment names will remain for backward compatibility until the migration to the new configuration is complete, after which it will be deprecated.