Skip to content

Commit

Permalink
Add BASE64_NETWORK_CONFIG deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Aug 28, 2024
1 parent 448c1f1 commit 50b5fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ func (n *NetworkConfig) applySecrets() error {
return nil
}

logging.L.Warn().Msgf("%s is deprecated and will be removed soon. Use BASE64_CONFIG_OVERRIDE instead. For network secrets, use Test Secrets https://github.com/smartcontractkit/chainlink-testing-framework/blob/main/config/README.md#test-secrets", Base64NetworkConfigEnvVarName)

err := n.applyBase64Encoded(encodedEndpoints)
if err != nil {
return fmt.Errorf("error reading network encoded endpoints: %w", err)
Expand Down

0 comments on commit 50b5fe1

Please sign in to comment.