Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
persist-credentials: false
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand Down Expand Up @@ -100,14 +100,14 @@ jobs:
needs: [golangci-lint-version]
steps:
- name: Free Disk Space
uses: smartcontractkit/.github/actions/free-disk-space@free-disk-space/v1
uses: smartcontractkit/.github/actions/free-disk-space@ca71236c9f9e1358597795ef7d433dd3d3df8dfb # free-disk-space/v1
- name: Checkout sources
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand All @@ -124,7 +124,12 @@ jobs:
run: nix develop -c make lint-go-test
- name: Print Report
if: failure()
run: cat ./integration-tests/golangci-lint-integration-tests-report.xml
run: |
if [ -f ./integration-tests/golangci-lint-integration-tests-report.xml ]; then
cat ./integration-tests/golangci-lint-integration-tests-report.xml
else
echo "golangci-lint report not generated"
fi
- name: Store Golangci lint integration tests report artifact
if: always()
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
persist-credentials: false
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ jobs:
steps:
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
uses: ./.github/actions/install-cairo
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests-soak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: ./.github/actions/install-cairo
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/relayer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
go-version-file: "relayer/go.mod"
- name: Setup GitHub Token
id: setup-github-token
uses: smartcontractkit/.github/actions/setup-github-token@setup-github-token/v1
uses: smartcontractkit/.github/actions/setup-github-token@744f70475fb76191f29debf2d581ffc095a650a4 # setup-github-token/v1
with:
aws-role-arn: ${{ secrets.AWS_OIDC_CHAINLINK_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ jobs:
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Check Zizmor
run: nix develop -c zizmor --pedantic --config zizmor.yml .
- name: Report Zizmor Findings
run: nix develop -c zizmor --pedantic --no-exit-codes --config zizmor.yml .

- name: Fail on High-Severity Zizmor Findings
run: nix develop -c zizmor --pedantic --min-severity high --config zizmor.yml .
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ linters:
- name: if-return
- name: increment-decrement
- name: var-naming
arguments:
- []
- []
- [{ skipPackageNameChecks: true }]
- name: var-declaration
- name: package-comments
- name: range
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ lint-go-relayer:

.PHONY: lint-go-test
lint-go-test:
cd ./integration-tests && golangci-lint --config ../.golangci.yml --color=always --output.checkstyle.path ./integration-tests/golangci-lint-integration-tests-report.xml run
cd ./integration-tests && golangci-lint --config ../.golangci.yml --color=always --output.checkstyle.path ./golangci-lint-integration-tests-report.xml run ./...

.PHONY: test-go
test-go: test-unit-go test-unit-go-race test-integration-go
Expand Down
66 changes: 54 additions & 12 deletions go.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ flowchart LR

chain-selectors
click chain-selectors href "https://github.com/smartcontractkit/chain-selectors"
chainlink-common --> chain-selectors
chainlink-common --> chainlink-common/pkg/chipingress
chainlink-common --> chainlink-protos/billing/go
chainlink-common --> chainlink-protos/cre/go
chainlink-common --> chainlink-protos/linking-service/go
chainlink-common --> chainlink-protos/node-platform
chainlink-common --> chainlink-protos/storage-service
chainlink-common --> chainlink-protos/workflows/go
chainlink-common --> freeport
Expand All @@ -20,10 +20,12 @@ flowchart LR
click chainlink-common/pkg/chipingress href "https://github.com/smartcontractkit/chainlink-common"
chainlink-protos/billing/go
click chainlink-protos/billing/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/cre/go
chainlink-protos/cre/go --> chain-selectors
click chainlink-protos/cre/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/linking-service/go
click chainlink-protos/linking-service/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/node-platform
click chainlink-protos/node-platform href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/storage-service
click chainlink-protos/storage-service href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/workflows/go
Expand All @@ -47,6 +49,7 @@ flowchart LR
chainlink-protos/billing/go
chainlink-protos/cre/go
chainlink-protos/linking-service/go
chainlink-protos/node-platform
chainlink-protos/storage-service
chainlink-protos/workflows/go
end
Expand All @@ -70,6 +73,7 @@ flowchart LR
chainlink-automation --> chainlink-common
click chainlink-automation href "https://github.com/smartcontractkit/chainlink-automation"
chainlink-ccip --> chainlink-common
chainlink-ccip --> chainlink-evm/gethwrappers/helpers
chainlink-ccip --> chainlink-protos/rmn/v1.6/go
click chainlink-ccip href "https://github.com/smartcontractkit/chainlink-ccip"
chainlink-ccip/ccv/chains/evm
Expand All @@ -83,19 +87,23 @@ flowchart LR
click chainlink-ccip/deployment href "https://github.com/smartcontractkit/chainlink-ccip"
chainlink-ccv --> chainlink-ccip/ccv/chains/evm
chainlink-ccv --> chainlink-evm
chainlink-ccv --> chainlink-protos/chainlink-ccv/go
chainlink-ccv --> chainlink-protos/chainlink-ccv/committee-verifier
chainlink-ccv --> chainlink-protos/chainlink-ccv/heartbeat
chainlink-ccv --> chainlink-protos/chainlink-ccv/message-discovery
chainlink-ccv --> chainlink-solana
chainlink-ccv --> chainlink-testing-framework/framework
click chainlink-ccv href "https://github.com/smartcontractkit/chainlink-ccv"
chainlink-common --> chain-selectors
chainlink-common --> chainlink-common/pkg/chipingress
chainlink-common --> chainlink-protos/billing/go
chainlink-common --> chainlink-protos/cre/go
chainlink-common --> chainlink-protos/linking-service/go
chainlink-common --> chainlink-protos/node-platform
chainlink-common --> chainlink-protos/storage-service
chainlink-common --> freeport
chainlink-common --> grpc-proxy
chainlink-common --> libocr
click chainlink-common href "https://github.com/smartcontractkit/chainlink-common"
chainlink-common/keystore
chainlink-common/keystore --> chainlink-common
click chainlink-common/keystore href "https://github.com/smartcontractkit/chainlink-common"
chainlink-common/pkg/chipingress
click chainlink-common/pkg/chipingress href "https://github.com/smartcontractkit/chainlink-common"
Expand All @@ -121,8 +129,12 @@ flowchart LR
chainlink-evm --> chainlink-protos/svr
chainlink-evm --> chainlink-tron/relayer
click chainlink-evm href "https://github.com/smartcontractkit/chainlink-evm"
chainlink-evm/contracts/cre/gobindings --> chainlink-evm/gethwrappers/helpers
click chainlink-evm/contracts/cre/gobindings href "https://github.com/smartcontractkit/chainlink-evm"
chainlink-evm/gethwrappers
click chainlink-evm/gethwrappers href "https://github.com/smartcontractkit/chainlink-evm"
chainlink-evm/gethwrappers/helpers
click chainlink-evm/gethwrappers/helpers href "https://github.com/smartcontractkit/chainlink-evm"
chainlink-feeds --> chainlink-common
click chainlink-feeds href "https://github.com/smartcontractkit/chainlink-feeds"
chainlink-framework/capabilities --> chainlink-common
Expand All @@ -135,18 +147,28 @@ flowchart LR
click chainlink-framework/multinode href "https://github.com/smartcontractkit/chainlink-framework"
chainlink-protos/billing/go --> chainlink-protos/workflows/go
click chainlink-protos/billing/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/chainlink-ccv/go
click chainlink-protos/chainlink-ccv/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/cre/go
chainlink-protos/chainlink-ccv/committee-verifier --> chainlink-protos/chainlink-ccv/verifier
click chainlink-protos/chainlink-ccv/committee-verifier href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/chainlink-ccv/heartbeat
click chainlink-protos/chainlink-ccv/heartbeat href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/chainlink-ccv/message-discovery --> chainlink-protos/chainlink-ccv/verifier
click chainlink-protos/chainlink-ccv/message-discovery href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/chainlink-ccv/verifier
click chainlink-protos/chainlink-ccv/verifier href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/cre/go --> chain-selectors
click chainlink-protos/cre/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/job-distributor
click chainlink-protos/job-distributor href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/linking-service/go
click chainlink-protos/linking-service/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/node-platform
click chainlink-protos/node-platform href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/op-catalog
click chainlink-protos/op-catalog href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/orchestrator --> wsrpc
click chainlink-protos/orchestrator href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/ring/go
click chainlink-protos/ring/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/rmn/v1.6/go
click chainlink-protos/rmn/v1.6/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-protos/storage-service
Expand All @@ -156,10 +178,12 @@ flowchart LR
chainlink-protos/workflows/go
click chainlink-protos/workflows/go href "https://github.com/smartcontractkit/chainlink-protos"
chainlink-solana --> chainlink-ccip/chains/solana
chainlink-solana --> chainlink-common/keystore
chainlink-solana --> chainlink-common/pkg/monitoring
chainlink-solana --> chainlink-framework/capabilities
chainlink-solana --> chainlink-framework/multinode
click chainlink-solana href "https://github.com/smartcontractkit/chainlink-solana"
chainlink-solana/contracts
click chainlink-solana/contracts href "https://github.com/smartcontractkit/chainlink-solana"
chainlink-starknet/integration-tests --> chainlink-starknet/ops
chainlink-starknet/integration-tests --> chainlink-starknet/relayer
chainlink-starknet/integration-tests --> chainlink/integration-tests
Expand Down Expand Up @@ -197,6 +221,8 @@ flowchart LR
chainlink-testing-framework/wasp
click chainlink-testing-framework/wasp href "https://github.com/smartcontractkit/chainlink-testing-framework"
chainlink-ton --> chainlink-ccip
chainlink-ton --> chainlink-common/pkg/monitoring
chainlink-ton --> chainlink-framework/metrics
click chainlink-ton href "https://github.com/smartcontractkit/chainlink-ton"
chainlink-ton/deployment
click chainlink-ton/deployment href "https://github.com/smartcontractkit/chainlink-ton"
Expand All @@ -205,6 +231,7 @@ flowchart LR
chainlink/deployment --> ccip-contract-examples/chains/evm
chainlink/deployment --> chainlink-ccip/deployment
chainlink/deployment --> chainlink-deployments-framework
chainlink/deployment --> chainlink-solana/contracts
chainlink/deployment --> chainlink-sui/deployment
chainlink/deployment --> chainlink-testing-framework/lib
chainlink/deployment --> chainlink-ton/deployment
Expand All @@ -219,9 +246,10 @@ flowchart LR
chainlink/v2 --> chainlink-automation
chainlink/v2 --> chainlink-ccv
chainlink/v2 --> chainlink-data-streams
chainlink/v2 --> chainlink-evm/contracts/cre/gobindings
chainlink/v2 --> chainlink-feeds
chainlink/v2 --> chainlink-protos/orchestrator
chainlink/v2 --> chainlink-solana
chainlink/v2 --> chainlink-protos/ring/go
chainlink/v2 --> chainlink-sui
chainlink/v2 --> chainlink-ton
chainlink/v2 --> cre-sdk-go
Expand Down Expand Up @@ -250,6 +278,7 @@ flowchart LR
mcms --> chainlink-ccip/chains/solana
mcms --> chainlink-sui
mcms --> chainlink-testing-framework/framework
mcms --> chainlink-ton
click mcms href "https://github.com/smartcontractkit/mcms"
quarantine
click quarantine href "https://github.com/smartcontractkit/quarantine"
Expand Down Expand Up @@ -291,7 +320,9 @@ flowchart LR

subgraph chainlink-evm-repo[chainlink-evm]
chainlink-evm
chainlink-evm/contracts/cre/gobindings
chainlink-evm/gethwrappers
chainlink-evm/gethwrappers/helpers
end
click chainlink-evm-repo href "https://github.com/smartcontractkit/chainlink-evm"

Expand All @@ -305,19 +336,30 @@ flowchart LR

subgraph chainlink-protos-repo[chainlink-protos]
chainlink-protos/billing/go
chainlink-protos/chainlink-ccv/go
chainlink-protos/chainlink-ccv/committee-verifier
chainlink-protos/chainlink-ccv/heartbeat
chainlink-protos/chainlink-ccv/message-discovery
chainlink-protos/chainlink-ccv/verifier
chainlink-protos/cre/go
chainlink-protos/job-distributor
chainlink-protos/linking-service/go
chainlink-protos/node-platform
chainlink-protos/op-catalog
chainlink-protos/orchestrator
chainlink-protos/ring/go
chainlink-protos/rmn/v1.6/go
chainlink-protos/storage-service
chainlink-protos/svr
chainlink-protos/workflows/go
end
click chainlink-protos-repo href "https://github.com/smartcontractkit/chainlink-protos"

subgraph chainlink-solana-repo[chainlink-solana]
chainlink-solana
chainlink-solana/contracts
end
click chainlink-solana-repo href "https://github.com/smartcontractkit/chainlink-solana"

subgraph chainlink-starknet-repo[chainlink-starknet]
chainlink-starknet/integration-tests
chainlink-starknet/monitoring
Expand Down Expand Up @@ -364,5 +406,5 @@ flowchart LR
click tdh2-repo href "https://github.com/smartcontractkit/tdh2"

classDef outline stroke-dasharray:6,fill:none;
class chainlink-repo,chainlink-ccip-repo,chainlink-common-repo,chainlink-evm-repo,chainlink-framework-repo,chainlink-protos-repo,chainlink-starknet-repo,chainlink-sui-repo,chainlink-testing-framework-repo,chainlink-ton-repo,cre-sdk-go-repo,tdh2-repo outline
class chainlink-repo,chainlink-ccip-repo,chainlink-common-repo,chainlink-evm-repo,chainlink-framework-repo,chainlink-protos-repo,chainlink-solana-repo,chainlink-starknet-repo,chainlink-sui-repo,chainlink-testing-framework-repo,chainlink-ton-repo,cre-sdk-go-repo,tdh2-repo outline
```
Loading
Loading