diff --git a/core/services/chainlink/config_test.go b/core/services/chainlink/config_test.go index 11d286fbcd5..ec6a361601a 100644 --- a/core/services/chainlink/config_test.go +++ b/core/services/chainlink/config_test.go @@ -1294,9 +1294,9 @@ func TestConfig_Validate(t *testing.T) { - 4: 2 errors: - ChainID: missing: required for all chains - Nodes: missing: must have at least one node - - Cosmos: 5 errors: + - Cosmos: 4 errors: - 1.ChainID: invalid value (Malaga-420): duplicate - must be unique - - 0.Nodes.1.Name: invalid value (test): duplicate - must be unique + 0.Nodes.1.Name: invalid value (test): duplicate - must be unique - 0.Nodes: 2 errors: - 0.TendermintURL: missing: required for all nodes - 1.TendermintURL: missing: required for all nodes @@ -1304,9 +1304,9 @@ func TestConfig_Validate(t *testing.T) { - 2: 2 errors: - ChainID: missing: required for all chains - Nodes: missing: must have at least one node - - Solana: 5 errors: + - Solana: 4 errors: - 1.ChainID: invalid value (mainnet): duplicate - must be unique - - 1.Nodes.1.Name: invalid value (bar): duplicate - must be unique + 1.Nodes.1.Name: invalid value (bar): duplicate - must be unique - 0.Nodes: missing: must have at least one node - 1.Nodes: 2 errors: - 0.URL: missing: required for all nodes diff --git a/testdata/scripts/node/validate/invalid-duplicates.txtar b/testdata/scripts/node/validate/invalid-duplicates.txtar index 84e6c23aa71..68d90e52167 100644 --- a/testdata/scripts/node/validate/invalid-duplicates.txtar +++ b/testdata/scripts/node/validate/invalid-duplicates.txtar @@ -80,13 +80,13 @@ Error running app: invalid configuration: 4 errors: - 1.Nodes.1.Name: invalid value (fake): duplicate - must be unique - 1.Nodes.1.WSURL: invalid value (wss://foo.bar/ws): duplicate - must be unique - 1.Nodes.1.HTTPURL: invalid value (https://foo.bar): duplicate - must be unique - - Cosmos: 3 errors: + - Cosmos: 2 errors: - 1.ChainID: invalid value (Malaga-420): duplicate - must be unique - - 1.Nodes.1.Name: invalid value (primary): duplicate - must be unique + 1.Nodes.1.Name: invalid value (primary): duplicate - must be unique - 1.Nodes.1.TendermintURL: invalid value (http://tender.mint): duplicate - must be unique - - Solana: 3 errors: + - Solana: 2 errors: - 1.ChainID: invalid value (mainnet): duplicate - must be unique - - 1.Nodes.1.Name: invalid value (primary): duplicate - must be unique + 1.Nodes.1.Name: invalid value (primary): duplicate - must be unique - 1.Nodes.1.URL: invalid value (http://solana.web): duplicate - must be unique - Starknet: 3 errors: - 1.ChainID: invalid value (foobar): duplicate - must be unique