Skip to content

Commit

Permalink
Setting CCIP feature flag to true - it's no longer used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Aug 2, 2024
1 parent 01a5830 commit e9bcab8
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 21 deletions.
2 changes: 1 addition & 1 deletion core/config/docs/core.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LogPoller = false # Default
# UICSAKeys enables CSA Keys in the UI.
UICSAKeys = false # Default
# CCIP enables the CCIP service.
CCIP = false # Default
CCIP = true # Default

[Database]
# DefaultIdleInTxSessionTimeout is the maximum time allowed for a transaction to be open and idle before timing out. See Postgres `idle_in_transaction_session_timeout` for more details.
Expand Down
4 changes: 2 additions & 2 deletions core/services/chainlink/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func TestConfig_Marshal(t *testing.T) {
FeedsManager: ptr(true),
LogPoller: ptr(true),
UICSAKeys: ptr(true),
CCIP: ptr(false),
CCIP: ptr(true),
}
full.Database = toml.Database{
DefaultIdleInTxSessionTimeout: commoncfg.MustNewDuration(time.Minute),
Expand Down Expand Up @@ -772,7 +772,7 @@ Headers = ['Authorization: token', 'X-SomeOther-Header: value with spaces | and
FeedsManager = true
LogPoller = true
UICSAKeys = true
CCIP = false
CCIP = true
`},
{"Database", Config{Core: toml.Core{Database: full.Database}}, `[Database]
DefaultIdleInTxSessionTimeout = '1m0s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion core/services/chainlink/testdata/config-full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ShutdownGracePeriod = '10s'
FeedsManager = true
LogPoller = true
UICSAKeys = true
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1m0s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ func setupNodeCCIP(
fmt.Sprintf("127.0.0.1:%d", port),
}
c.Log.Level = &loglevel
c.Feature.CCIP = &trueRef
c.Feature.UICSAKeys = &trueRef
c.Feature.FeedsManager = &trueRef
c.OCR.Enabled = &falseRef
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,6 @@ func setupNodeCCIP(
fmt.Sprintf("127.0.0.1:%d", port),
}
c.Log.Level = &loglevel
c.Feature.CCIP = &trueRef
c.Feature.UICSAKeys = &trueRef
c.Feature.FeedsManager = &trueRef
c.OCR.Enabled = &falseRef
Expand Down
2 changes: 1 addition & 1 deletion core/web/resolver/testdata/config-empty-effective.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion core/web/resolver/testdata/config-full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ShutdownGracePeriod = '10s'
FeedsManager = true
LogPoller = true
UICSAKeys = true
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1m0s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
4 changes: 2 additions & 2 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ShutdownGracePeriod is the maximum time allowed to shut down gracefully. If exce
FeedsManager = true # Default
LogPoller = false # Default
UICSAKeys = false # Default
CCIP = false # Default
CCIP = true # Default
```


Expand All @@ -75,7 +75,7 @@ UICSAKeys enables CSA Keys in the UI.

### CCIP
```toml
CCIP = false # Default
CCIP = true # Default
```
CCIP enables the CCIP service.

Expand Down
2 changes: 1 addition & 1 deletion testdata/scripts/node/validate/default.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion testdata/scripts/node/validate/disk-based-logging.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion testdata/scripts/node/validate/invalid-ocr-p2p.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion testdata/scripts/node/validate/invalid.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion testdata/scripts/node/validate/valid.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down
2 changes: 1 addition & 1 deletion testdata/scripts/node/validate/warnings.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ ShutdownGracePeriod = '5s'
FeedsManager = true
LogPoller = false
UICSAKeys = false
CCIP = false
CCIP = true

[Database]
DefaultIdleInTxSessionTimeout = '1h0m0s'
Expand Down

0 comments on commit e9bcab8

Please sign in to comment.