Skip to content

Commit

Permalink
Merge branch 'develop' into CRIB-322-keystone-evm-contract-deployment…
Browse files Browse the repository at this point in the history
…-tooling
  • Loading branch information
krehermann committed Jan 10, 2025
2 parents 0db7346 + 5156cfe commit 74860f6
Show file tree
Hide file tree
Showing 935 changed files with 20,120 additions and 30,052 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-knives-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#added Sei config and error mapping
5 changes: 5 additions & 0 deletions .changeset/cold-coats-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal minor rename of various gethwrappers
5 changes: 5 additions & 0 deletions .changeset/cold-pillows-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Extract EVM MultiNode to chainlink-framework. #internal
5 changes: 5 additions & 0 deletions .changeset/cuddly-turtles-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal adding solana devnet to ccip deployment
7 changes: 7 additions & 0 deletions .changeset/eleven-cheetahs-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"chainlink": patch
---

Add panic recovery to wsrpc mercury client

- Should help to make nodes running wsrpc v0.8.2 more stable #bugfix
5 changes: 5 additions & 0 deletions .changeset/fluffy-lizards-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Changed RMNRemote and RMNHome parameter f to fObserve and fSign #updated
5 changes: 5 additions & 0 deletions .changeset/friendly-tigers-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal change gethwrapper to allow for foundry based gethwrapper generation
5 changes: 5 additions & 0 deletions .changeset/gorgeous-ants-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Updated TXM abandon transaction functionality to drop related attempts. #updated
5 changes: 5 additions & 0 deletions .changeset/large-ants-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

add reorg detection for Solana TXM. #added
5 changes: 5 additions & 0 deletions .changeset/rotten-books-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Support multiple streamIDs in stream specs #added
5 changes: 5 additions & 0 deletions .changeset/silver-books-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#add #nops Add soneium config
5 changes: 5 additions & 0 deletions .changeset/tall-falcons-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#added the ability to define a fallback.toml override config using CL_CHAIN_DEFAULTS env var
5 changes: 5 additions & 0 deletions .changeset/wise-buttons-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Add TRON integration #added
3 changes: 0 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,11 @@ core/scripts/gateway @smartcontractkit/dev-services
/contracts/src/v0.8/automation @smartcontractkit/dev-services
/contracts/src/v0.8/ccip @smartcontractkit/ccip-onchain
/contracts/src/v0.8/functions @smartcontractkit/dev-services
# TODO: interfaces folder, folder should be removed and files moved to the correct folders
/contracts/src/v0.8/l2ep @smartcontractkit/bix-build
/contracts/src/v0.8/llo-feeds @smartcontractkit/data-streams-engineers
# TODO: mocks folder, folder should be removed and files moved to the correct folders
/contracts/src/v0.8/operatorforwarder @smartcontractkit/data-feeds-engineers
/contracts/src/v0.8/shared @smartcontractkit/core-solidity
# TODO: tests folder, folder should be removed and files moved to the correct folders
# TODO: transmission folder, owner should be found
/contracts/src/v0.8/vrf @smartcontractkit/dev-services
/contracts/src/v0.8/keystone @smartcontractkit/keystone
/contracts/src/v0.8/workflow @smartcontractkit/dev-services
Expand Down
26 changes: 0 additions & 26 deletions .github/actions/detect-solidity-foundry-version/action.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ runs:
filters: |
read_only_sol:
- 'contracts/src/v0.8/interfaces/**/*'
- 'contracts/src/v0.8/automation/interfaces/**/*'
- 'contracts/src/v0.8/automation/upkeeps/**/*'
- 'contracts/src/v0.8/automation/v1_2/**/*'
- 'contracts/src/v0.8/automation/v1_3/**/*'
- 'contracts/src/v0.8/automation/v2_0/**/*'
- 'contracts/src/v0.8/automation/v2_1/**/*'
- 'contracts/src/v0.8/automation/v2_2/**/*'
- name: Fail if read-only files have changed
if: ${{ steps.changed_files.outputs.read_only_sol == 'true' }}
Expand Down
27 changes: 21 additions & 6 deletions .github/workflows/build-publish-develop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,34 @@ jobs:
include:
- runner: ubuntu-latest
goarch: amd64
dist_name: linux_amd64_v1
dist_name: linux_amd64

- runner: ubuntu-24.04-4cores-16GB-ARM
goarch: arm64
dist_name: linux_arm64_v8.0
dist_name: linux_arm64
steps:
- name: Checkout repository
- name: Checkout chainlink repository
uses: actions/[email protected]
with:
persist-credentials: false
ref: ${{ env.CHECKOUT_REF }}
fetch-depth: 0

- name: Setup Github Token
id: token
uses: smartcontractkit/.github/actions/setup-github-token@ef78fa97bf3c77de6563db1175422703e9e6674f # [email protected]
with:
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
aws-lambda-url: ${{ secrets.AWS_INFRA_RELENG_TOKEN_ISSUER_LAMBDA_URL }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Checkout capabilities repository
uses: actions/[email protected]
with:
repository: smartcontractkit/capabilities
token: ${{ steps.token.outputs.access-token }}
path: capabilities

- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
Expand All @@ -107,7 +122,7 @@ jobs:
- id: cache
uses: actions/cache@v4
with:
path: dist/${{ matrix.dist_name }}
path: ./dist/${{ matrix.dist_name }}
key: chainlink-${{ matrix.goarch }}-${{ github.sha }}

- name: Build images for ${{ matrix.goarch }}
Expand Down Expand Up @@ -144,13 +159,13 @@ jobs:

- uses: actions/cache/restore@v4
with:
path: dist/linux_amd64_v1
path: ./dist/linux_amd64
key: chainlink-amd64-${{ github.sha }}
fail-on-cache-miss: true

- uses: actions/cache/restore@v4
with:
path: dist/linux_arm64_v8.0
path: ./dist/linux_arm64
key: chainlink-arm64-${{ github.sha }}
fail-on-cache-miss: true

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci-core-partial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ jobs:
with:
prod: "true"

- name: Install Foundry
uses: ./.github/actions/install-solidity-foundry

- name: Setup Go
uses: ./.github/actions/setup-go
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ jobs:
with:
prod: "true"

- name: Install Foundry
uses: ./.github/actions/install-solidity-foundry

- name: Setup Go
if: ${{ needs.filter.outputs.should-run-ci-core == 'true' }}
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -480,6 +483,8 @@ jobs:
run: curl https://github.com/smartcontractkit/wsrpc/raw/main/cmd/protoc-gen-go-wsrpc/protoc-gen-go-wsrpc --output $HOME/go/bin/protoc-gen-go-wsrpc && chmod +x $HOME/go/bin/protoc-gen-go-wsrpc
- name: Setup NodeJS
uses: ./.github/actions/setup-nodejs
- name: Install Foundry
uses: ./.github/actions/install-solidity-foundry
- name: make generate
run: |
make rm-mocked
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-flakeguard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
findByTestFilesDiff: true
findByAffectedPackages: false
slackNotificationAfterTestsChannelId: 'C07TRF65CNS' #flaky-test-detector-notifications
extraArgs: '{ "skipped_tests": "TestChainComponents", "run_with_race": "true", "print_failed_tests": "true", "test_repeat_count": "3", "omit_test_outputs_on_success": "true" }'
extraArgs: '{ "skipped_tests": "", "run_with_race": "true", "print_failed_tests": "true", "test_repeat_count": "3", "omit_test_outputs_on_success": "true" }'
secrets:
SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flakeguard-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
projectPath: '.'
maxPassRatio: '1.0'
runAllTests: true
extraArgs: '{ "skipped_tests": "TestChainComponents", "test_repeat_count": "5", "all_tests_runner": "ubuntu22.04-32cores-128GB", "all_tests_runner_count": "3", "run_with_race": "false" }'
extraArgs: '{ "skipped_tests": "", "test_repeat_count": "5", "all_tests_runner": "ubuntu22.04-32cores-128GB", "all_tests_runner_count": "3", "run_with_race": "false" }'
slackNotificationAfterTestsChannelId: 'C07TRF65CNS' #flaky-test-detector-notifications
secrets:
SLACK_BOT_TOKEN: ${{ secrets.QA_SLACK_API_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flakeguard-on-demand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ on:
extraArgs:
required: false
type: string
default: '{ "skipped_tests": "TestChainComponents", "test_repeat_count": "5", "all_tests_runner": "ubuntu22.04-32cores-128GB", "all_tests_runner_count": "3", "run_with_race": "false" }'
default: '{ "skipped_tests": "", "test_repeat_count": "5", "all_tests_runner": "ubuntu22.04-32cores-128GB", "all_tests_runner_count": "3", "run_with_race": "false" }'
description: 'JSON of extra arguments for the workflow.'

jobs:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/solidity-foundry-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
- '!contracts/src/v0.8/**/*.t.sol'
- '!contracts/src/v0.8/*.t.sol'
- '!contracts/src/v0.8/**/testhelpers/**'
- '!contracts/src/v0.8/testhelpers/**'
- '!contracts/src/v0.8/vendor/**'
other_shared:
- modified|added: 'contracts/src/v0.8/(interfaces/**/*.sol|*.sol)'
Expand Down Expand Up @@ -134,11 +133,8 @@ jobs:
with:
persist-credentials: false

- name: Extract Foundry version
id: extract-foundry-version
uses: ./.github/actions/detect-solidity-foundry-version
with:
working-directory: contracts
- name: Install Foundry
uses: ./.github/actions/install-solidity-foundry

- name: Should skip code coverage report
id: skip-code-coverage
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/solidity-foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.define-matrix.outputs.matrix }}
foundry-version: ${{ steps.extract-foundry-version.outputs.foundry-version }}
steps:
- name: Define test matrix
id: define-matrix
Expand Down Expand Up @@ -51,12 +50,6 @@ jobs:
with:
persist-credentials: false

- name: Extract Foundry version
id: extract-foundry-version
uses: ./.github/actions/detect-solidity-foundry-version
with:
working-directory: contracts

changes:
name: Detect changes
runs-on: ubuntu-latest
Expand Down Expand Up @@ -178,9 +171,7 @@ jobs:
${{ contains(fromJson(needs.changes.outputs.all_changes), matrix.product.name)
|| contains(fromJson(needs.changes.outputs.all_changes), 'shared')
|| needs.changes.outputs.non_src_changes == 'true' }}
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
with:
version: ${{ needs.define-matrix.outputs.foundry-version }}
uses: ./.github/actions/install-solidity-foundry

# If Solc version is not set in foundry.toml, then what `forge build` does is that it lazily-installs required solc versions
# using SVM. This is done in parallel, but SVM has a bug and is not thread-safe, which sometimes leads to `Text file busy` error.
Expand Down Expand Up @@ -347,9 +338,7 @@ jobs:
uses: ./.github/actions/setup-nodejs

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
with:
version: ${{ needs.define-matrix.outputs.foundry-version }}
uses: ./.github/actions/install-solidity-foundry

- name: Set up Python
uses: actions/[email protected]
Expand Down Expand Up @@ -626,9 +615,7 @@ jobs:

- name: Install Foundry
if: ${{ (contains(fromJson(needs.changes.outputs.all_changes), matrix.product.name) || needs.changes.outputs.non_src_changes == 'true') && matrix.product.setup.run-forge-fmt }}
uses: foundry-rs/foundry-toolchain@8f1998e9878d786675189ef566a2e4bf24869773 # v1.2.0
with:
version: ${{ needs.define-matrix.outputs.foundry-version }}
uses: ./.github/actions/install-solidity-foundry

- name: Run Forge fmt
if: ${{ (contains(fromJson(needs.changes.outputs.all_changes), matrix.product.name) || needs.changes.outputs.non_src_changes == 'true') && matrix.product.setup.run-forge-fmt }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/solidity-wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
with:
prod: "true"

- name: Install Foundry
uses: ./.github/actions/install-solidity-foundry

- name: Run native compile and generate wrappers
run: make wrappers-all
working-directory: ./contracts
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ jobs:
with:
go-version-file: "chainlink/go.mod"

- name: Install Foundry
uses: ./chainlink/.github/actions/install-solidity-foundry
with:
working-directory: chainlink/contracts

- name: Run native compile and generate wrappers
working-directory: ./chainlink/contracts
run: make wrappers-all
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,4 @@ vendor/*

*.wasm
contracts/lcov.info
/cache
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ linters:
- errname
- errorlint
- exhaustive
- exportloopref
- fatcontext
- ginkgolinter
- gocritic
Expand Down
Loading

0 comments on commit 74860f6

Please sign in to comment.