Skip to content

Commit 7bc663b

Browse files
committed
Merge branch 'main' into PLEX-1777
2 parents 30059dc + 8b842a2 commit 7bc663b

File tree

235 files changed

+7671
-1525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+7671
-1525
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/pkg/beholder/ @smartcontractkit/data-tooling
1010
/pkg/capabilities/v2/chain-capabilities @smartcontractkit/keystone @smartcontractkit/capabilities-team @smartcontractkit/bix-framework
1111
/pkg/chains/evm @smartcontractkit/bix-framework
12+
/pkg/chipingress/ @smartcontractkit/data-tooling
1213
/pkg/codec/ @smartcontractkit/bix-framework @smartcontractkit/foundations
1314
/pkg/loop/cmd/loopinstall @smartcontractkit/devex-cicd
1415
/pkg/loop/internal/relayer @smartcontractkit/bix-framework @smartcontractkit/foundations

.github/workflows/api-diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
go-version-file: "go.mod"
2323
cache: false
2424

25-
- uses: smartcontractkit/.github/actions/apidiff-go@apidiff-go/0.2.0
25+
- uses: smartcontractkit/.github/actions/apidiff-go@apidiff-go/v1
2626
env:
2727
GITHUB_TOKEN: ${{ github.token }}
2828
with:

.github/workflows/keystore.yml

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,34 @@ name: Keystore Checks
22
permissions:
33
contents: read
44

5-
on:
6-
push:
7-
paths:
8-
- "keystore/**"
5+
on: push
96

107
jobs:
8+
changes:
9+
name: detect changes
10+
runs-on: ubuntu-latest
11+
outputs:
12+
keystore-src: ${{ steps.keystore-changes.outputs.src }}
13+
steps:
14+
- name: Checkout the repo
15+
uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
18+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
19+
id: keystore-changes
20+
with:
21+
filters: |
22+
src:
23+
- 'keystore/**'
24+
1125
run-tests:
26+
name: run tests
27+
runs-on: ubuntu-latest
28+
needs: changes
29+
if: needs.changes.outputs.keystore-src == 'true'
1230
defaults:
1331
run:
1432
working-directory: keystore
15-
runs-on: ubuntu-latest
1633
steps:
1734
- name: Checkout
1835
uses: actions/checkout@v4
@@ -30,7 +47,13 @@ jobs:
3047
run: go test ./... -coverpkg=./... -coverprofile=coverage.txt
3148

3249
build-race-tests:
50+
name: race tests
3351
runs-on: ubuntu-latest
52+
needs: changes
53+
if: needs.changes.outputs.keystore-src == 'true'
54+
defaults:
55+
run:
56+
working-directory: keystore
3457
steps:
3558
- name: Checkout
3659
uses: actions/checkout@v4
@@ -61,4 +84,17 @@ jobs:
6184
with:
6285
name: go-race-results
6386
path: |
64-
./race.*
87+
./race.*
88+
89+
gate:
90+
name: summary gate
91+
runs-on: ubuntu-latest
92+
needs: [changes, run-tests, build-race-tests]
93+
if: always()
94+
steps:
95+
- name: Fail if any job ran and failed
96+
if: needs.changes.outputs.keystore-src == 'true' &&
97+
(needs.run-tests.result != 'success' ||
98+
needs.build-race-tests.result != 'success')
99+
run: exit 1
100+

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
golang 1.24.5
1+
golang 1.25.3
22
protoc 29.3
33
protoc-gen-go-grpc 1.3.0
4-
golangci-lint 2.2.2
4+
golangci-lint 2.4.0
55
mockery 2.53.3

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ gomodtidy: gomods
88

99
.PHONY: docs
1010
docs:
11-
go install golang.org/x/pkgsite/cmd/pkgsite@latest
12-
# http://localhost:8080/pkg/github.com/smartcontractkit/chainlink-common/pkg/
13-
pkgsite
11+
go doc -http
1412

1513
.PHONY: install-protoc
1614
install-protoc:
@@ -35,7 +33,7 @@ rm-builders:
3533

3634
.PHONY: generate
3735
generate: mockery install-protoc gomods cre-protoc modgraph
38-
export PATH="$(HOME)/.local/bin:$(PATH)"; gomods -s proto_vendor -go generate -x ./...
36+
export PATH="$(HOME)/.local/bin:$(HOME)/go/bin:$(PATH)"; gomods -s proto_vendor -go generate -x ./...
3937
find . -type f -name .mockery.yaml -execdir mockery \; ## Execute mockery for all .mockery.yaml files. If this fails, you might have a local mockery installed. Uninstall or update it.
4038

4139
.PHONY: cre-protoc

go.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ flowchart LR
1515
chainlink-common --> grpc-proxy
1616
chainlink-common --> libocr
1717
click chainlink-common href "https://github.com/smartcontractkit/chainlink-common"
18+
chainlink-common/keystore --> chainlink-common
19+
click chainlink-common/keystore href "https://github.com/smartcontractkit/chainlink-common"
1820
chainlink-common/pkg/chipingress
1921
click chainlink-common/pkg/chipingress href "https://github.com/smartcontractkit/chainlink-common"
2022
chainlink-common/pkg/monitoring --> chainlink-common
@@ -40,6 +42,7 @@ flowchart LR
4042
4143
subgraph chainlink-common-repo[chainlink-common]
4244
chainlink-common
45+
chainlink-common/keystore
4346
chainlink-common/pkg/chipingress
4447
chainlink-common/pkg/monitoring
4548
chainlink-common/pkg/values

go.mod

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/smartcontractkit/chainlink-common
22

3-
go 1.24.5
3+
go 1.25.3
44

55
require (
66
github.com/Masterminds/semver/v3 v3.4.0
@@ -20,7 +20,7 @@ require (
2020
github.com/google/uuid v1.6.0
2121
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.1
2222
github.com/hashicorp/go-hclog v1.6.3
23-
github.com/hashicorp/go-plugin v1.6.3
23+
github.com/hashicorp/go-plugin v1.7.0
2424
github.com/iancoleman/strcase v0.3.0
2525
github.com/invopop/jsonschema v0.13.0
2626
github.com/jackc/pgx/v4 v4.18.3
@@ -37,18 +37,18 @@ require (
3737
github.com/scylladb/go-reflectx v1.0.1
3838
github.com/shopspring/decimal v1.4.0
3939
github.com/smartcontractkit/chain-selectors v1.0.67
40-
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.6
41-
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20250722225531-876fd6b94976
42-
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20251008161434-22d9bd439bba
40+
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10
41+
github.com/smartcontractkit/chainlink-protos/billing/go v0.0.0-20251024234028-0988426d98f4
42+
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20251021010742-3f8d3dba17d8
4343
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b
4444
github.com/smartcontractkit/chainlink-protos/storage-service v0.3.0
45-
github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20250822025801-598d3d86f873
45+
github.com/smartcontractkit/chainlink-protos/workflows/go v0.0.0-20251020004840-4638e4262066
4646
github.com/smartcontractkit/freeport v0.1.3-0.20250716200817-cb5dfd0e369e
4747
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7
48-
github.com/smartcontractkit/libocr v0.0.0-20250707144819-babe0ec4e358
49-
github.com/stretchr/testify v1.10.0
50-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0
51-
go.opentelemetry.io/otel v1.37.0
48+
github.com/smartcontractkit/libocr v0.0.0-20250912173940-f3ab0246e23d
49+
github.com/stretchr/testify v1.11.1
50+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0
51+
go.opentelemetry.io/otel v1.38.0
5252
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.12.2
5353
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.12.2
5454
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.36.0
@@ -59,21 +59,21 @@ require (
5959
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.36.0
6060
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.36.0
6161
go.opentelemetry.io/otel/log v0.13.0
62-
go.opentelemetry.io/otel/metric v1.37.0
63-
go.opentelemetry.io/otel/sdk v1.37.0
62+
go.opentelemetry.io/otel/metric v1.38.0
63+
go.opentelemetry.io/otel/sdk v1.38.0
6464
go.opentelemetry.io/otel/sdk/log v0.13.0
65-
go.opentelemetry.io/otel/sdk/metric v1.37.0
66-
go.opentelemetry.io/otel/trace v1.37.0
65+
go.opentelemetry.io/otel/sdk/metric v1.38.0
66+
go.opentelemetry.io/otel/trace v1.38.0
6767
go.uber.org/zap v1.27.0
68-
golang.org/x/crypto v0.40.0
68+
golang.org/x/crypto v0.41.0
6969
golang.org/x/exp v0.0.0-20250711185948-6ae5c78190dc
7070
golang.org/x/sync v0.16.0
7171
golang.org/x/time v0.12.0
7272
golang.org/x/tools v0.35.0
7373
gonum.org/v1/gonum v0.16.0
74-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822
75-
google.golang.org/grpc v1.74.2
76-
google.golang.org/protobuf v1.36.7
74+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250825161204-c5933d9347a5
75+
google.golang.org/grpc v1.75.0
76+
google.golang.org/protobuf v1.36.8
7777
gopkg.in/yaml.v3 v3.0.1
7878
sigs.k8s.io/yaml v1.4.0
7979
)
@@ -83,7 +83,6 @@ require (
8383
github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59 // indirect
8484
github.com/bahlo/generic-list-go v0.2.0 // indirect
8585
github.com/beorn7/perks v1.0.1 // indirect
86-
github.com/bufbuild/protocompile v0.14.1 // indirect
8786
github.com/buger/goterm v1.0.4 // indirect
8887
github.com/buger/jsonparser v1.1.1 // indirect
8988
github.com/cenkalti/backoff/v5 v5.0.2 // indirect
@@ -112,7 +111,6 @@ require (
112111
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
113112
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
114113
github.com/jackc/pgtype v1.14.4 // indirect
115-
github.com/jhump/protoreflect v1.15.3 // indirect
116114
github.com/json-iterator/go v1.1.12 // indirect
117115
github.com/klauspost/compress v1.18.0 // indirect
118116
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
@@ -148,11 +146,11 @@ require (
148146
go.opentelemetry.io/proto/otlp v1.6.0 // indirect
149147
go.uber.org/multierr v1.11.0 // indirect
150148
golang.org/x/mod v0.26.0 // indirect
151-
golang.org/x/net v0.42.0 // indirect
152-
golang.org/x/sys v0.34.0 // indirect
153-
golang.org/x/term v0.33.0 // indirect
154-
golang.org/x/text v0.27.0 // indirect
149+
golang.org/x/net v0.43.0 // indirect
150+
golang.org/x/sys v0.35.0 // indirect
151+
golang.org/x/term v0.34.0 // indirect
152+
golang.org/x/text v0.28.0 // indirect
155153
golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect
156-
google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a // indirect
154+
google.golang.org/genproto/googleapis/api v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
157155
gopkg.in/yaml.v2 v2.4.0 // indirect
158156
)

0 commit comments

Comments
 (0)