Skip to content

Commit 693fc15

Browse files
authored
core/cmd: use cresettings.DefaultGetter (#19954)
1 parent 0a6ec41 commit 693fc15

15 files changed

Lines changed: 25 additions & 23 deletions

File tree

core/cmd/shell.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import (
3535

3636
"github.com/smartcontractkit/chainlink-common/pkg/beholder"
3737
"github.com/smartcontractkit/chainlink-common/pkg/loop"
38+
"github.com/smartcontractkit/chainlink-common/pkg/settings/cresettings"
3839
"github.com/smartcontractkit/chainlink-common/pkg/settings/limits"
3940
"github.com/smartcontractkit/chainlink-common/pkg/sqlutil"
4041

@@ -250,8 +251,9 @@ func (n ChainlinkAppFactory) NewApplication(ctx context.Context, cfg chainlink.G
250251
RetirementReportCache: retirement.NewRetirementReportCache(appLggr, ds),
251252
LLOTransmissionReaper: llo.NewTransmissionReaper(ds, appLggr, cfg.Mercury().Transmitter().ReaperFrequency(), cfg.Mercury().Transmitter().ReaperMaxAge()),
252253
LimitsFactory: limits.Factory{
253-
Meter: beholder.GetMeter(),
254-
Logger: appLggr.Named("Limits"),
254+
Meter: beholder.GetMeter(),
255+
Logger: appLggr.Named("Limits"),
256+
Settings: cresettings.DefaultGetter,
255257
},
256258
})
257259
}

core/scripts/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ require (
4747
github.com/shopspring/decimal v1.4.0
4848
github.com/smartcontractkit/chainlink-automation v0.8.1
4949
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251009203201-900123a5c46a
50-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13
50+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245
5151
github.com/smartcontractkit/chainlink-data-streams v0.1.6
5252
github.com/smartcontractkit/chainlink-deployments-framework v0.56.0
5353
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251020152820-5fb041bf92b7

core/scripts/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,8 +1599,8 @@ github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-f
15991599
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:Ve1xD71bl193YIZQEoJMmBqLGQJdNs29bwbuObwvbhQ=
16001600
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 h1:Z4t2ZY+ZyGWxtcXvPr11y4o3CGqhg3frJB5jXkCSvWA=
16011601
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:xtZNi6pOKdC3sLvokDvXOhgHzT+cyBqH/gWwvxTxqrg=
1602-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13 h1:TZ9vmn2SEF/0EwyQxdkl8HMtXwv/RIdcUe+2phdE6a0=
1603-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
1602+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245 h1:/K3VJyIGQRUsC1v/8VfFuZROSh40gM0uFQBNK9yKSrU=
1603+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
16041604
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6 h1:INTd6uKc/QO11B0Vx7Ze17xgW3bqYbWuQcBQa9ixicQ=
16051605
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6/go.mod h1:eKGyfTKzr0/PeR7qKN4l2FcW9p+HzyKUwAfGhm/5YZc=
16061606
github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw=

deployment/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ require (
4141
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251009203201-900123a5c46a
4242
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5
4343
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5
44-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13
44+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245
4545
github.com/smartcontractkit/chainlink-deployments-framework v0.56.0
4646
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251020152820-5fb041bf92b7
4747
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251015115541-729ba0b2b1c1

deployment/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,8 @@ github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-f
13361336
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:Ve1xD71bl193YIZQEoJMmBqLGQJdNs29bwbuObwvbhQ=
13371337
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 h1:Z4t2ZY+ZyGWxtcXvPr11y4o3CGqhg3frJB5jXkCSvWA=
13381338
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:xtZNi6pOKdC3sLvokDvXOhgHzT+cyBqH/gWwvxTxqrg=
1339-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13 h1:TZ9vmn2SEF/0EwyQxdkl8HMtXwv/RIdcUe+2phdE6a0=
1340-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
1339+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245 h1:/K3VJyIGQRUsC1v/8VfFuZROSh40gM0uFQBNK9yKSrU=
1340+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
13411341
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6 h1:INTd6uKc/QO11B0Vx7Ze17xgW3bqYbWuQcBQa9ixicQ=
13421342
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6/go.mod h1:eKGyfTKzr0/PeR7qKN4l2FcW9p+HzyKUwAfGhm/5YZc=
13431343
github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw=

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ require (
8484
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251009203201-900123a5c46a
8585
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5
8686
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5
87-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13
87+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245
8888
github.com/smartcontractkit/chainlink-data-streams v0.1.6
8989
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251020152820-5fb041bf92b7
9090
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251015115541-729ba0b2b1c1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,8 +1113,8 @@ github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-f
11131113
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:Ve1xD71bl193YIZQEoJMmBqLGQJdNs29bwbuObwvbhQ=
11141114
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 h1:Z4t2ZY+ZyGWxtcXvPr11y4o3CGqhg3frJB5jXkCSvWA=
11151115
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:xtZNi6pOKdC3sLvokDvXOhgHzT+cyBqH/gWwvxTxqrg=
1116-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13 h1:TZ9vmn2SEF/0EwyQxdkl8HMtXwv/RIdcUe+2phdE6a0=
1117-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
1116+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245 h1:/K3VJyIGQRUsC1v/8VfFuZROSh40gM0uFQBNK9yKSrU=
1117+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
11181118
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6 h1:INTd6uKc/QO11B0Vx7Ze17xgW3bqYbWuQcBQa9ixicQ=
11191119
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6/go.mod h1:eKGyfTKzr0/PeR7qKN4l2FcW9p+HzyKUwAfGhm/5YZc=
11201120
github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw=

integration-tests/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ require (
5050
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251009203201-900123a5c46a
5151
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5
5252
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5
53-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13
53+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245
5454
github.com/smartcontractkit/chainlink-deployments-framework v0.56.0
5555
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251020152820-5fb041bf92b7
5656
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251015115541-729ba0b2b1c1

integration-tests/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,8 +1580,8 @@ github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-f
15801580
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:Ve1xD71bl193YIZQEoJMmBqLGQJdNs29bwbuObwvbhQ=
15811581
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5 h1:Z4t2ZY+ZyGWxtcXvPr11y4o3CGqhg3frJB5jXkCSvWA=
15821582
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5/go.mod h1:xtZNi6pOKdC3sLvokDvXOhgHzT+cyBqH/gWwvxTxqrg=
1583-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13 h1:TZ9vmn2SEF/0EwyQxdkl8HMtXwv/RIdcUe+2phdE6a0=
1584-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
1583+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245 h1:/K3VJyIGQRUsC1v/8VfFuZROSh40gM0uFQBNK9yKSrU=
1584+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245/go.mod h1:4InnO+pggA5q4DzsKOvAKkCp1EEi12wUs4T9YClg2+g=
15851585
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6 h1:INTd6uKc/QO11B0Vx7Ze17xgW3bqYbWuQcBQa9ixicQ=
15861586
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6/go.mod h1:eKGyfTKzr0/PeR7qKN4l2FcW9p+HzyKUwAfGhm/5YZc=
15871587
github.com/smartcontractkit/chainlink-common/pkg/monitoring v0.0.0-20250415235644-8703639403c7 h1:9wh1G+WbXwPVqf0cfSRSgwIcaXTQgvYezylEAfwmrbw=

integration-tests/load/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require (
3232
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20251009203201-900123a5c46a
3333
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250912190424-fd2e35d7deb5
3434
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250912190424-fd2e35d7deb5
35-
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017075741-7b832338ea13
35+
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251017171836-ff801687c245
3636
github.com/smartcontractkit/chainlink-deployments-framework v0.56.0
3737
github.com/smartcontractkit/chainlink-evm v0.3.4-0.20251020152820-5fb041bf92b7
3838
github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251015115541-729ba0b2b1c1

0 commit comments

Comments
 (0)