Skip to content

Commit

Permalink
Merge branch 'develop' into feature/BCI-2981-logpoller-resolve-reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaidashenko authored Apr 19, 2024
2 parents 6dbf9a2 + d90229e commit 47a2232
Show file tree
Hide file tree
Showing 528 changed files with 10,129 additions and 18,365 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-crabs-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Add support for workflow jobs to Operator UI #wip #added
6 changes: 6 additions & 0 deletions .changeset/flat-guests-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"chainlink": minor
---

#internal Gas Estimator L1Oracles to be chain specific
#removed cmd/arbgas
5 changes: 5 additions & 0 deletions .changeset/forty-feet-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Bumping chainlink-automation version to v1.0.3
5 changes: 5 additions & 0 deletions .changeset/fresh-lizards-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#internal Updates required to work with chainlink-common changes to support grpc streams for capabilities
5 changes: 5 additions & 0 deletions .changeset/gold-bottles-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#added : Re-enable abandoned transaction tracker
5 changes: 5 additions & 0 deletions .changeset/great-rockets-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#wip Keystone wrapper regenerate
5 changes: 5 additions & 0 deletions .changeset/hot-dryers-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

core/services: update llo & versioning to use sqlutil #internal
6 changes: 6 additions & 0 deletions .changeset/hungry-ways-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"chainlink": patch
---

#bugfix
vrf fix replay number of blocks logic and add logging for job specs
5 changes: 5 additions & 0 deletions .changeset/loud-peaches-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

support decimals #added
5 changes: 5 additions & 0 deletions .changeset/lucky-windows-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Validate support for postgresql-client 16, and update docker image's bundled postgresql-client from 15 to 16. #nops #updated
5 changes: 5 additions & 0 deletions .changeset/many-pillows-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

core/services/keeper: switch to sqlutil.DataSource #internal
5 changes: 5 additions & 0 deletions .changeset/new-forks-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": removed
---

Drop unused queryTimeout config from TXM strategy #internal
5 changes: 5 additions & 0 deletions .changeset/odd-horses-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

contracts work
5 changes: 5 additions & 0 deletions .changeset/orange-squids-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal Remote Trigger setup
5 changes: 5 additions & 0 deletions .changeset/poor-socks-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

core/services/ocr2/plugins/ocr2keeper/evmregister/v21/upkeepstate: use sqlutil instead of pg.QOpts #internal
5 changes: 5 additions & 0 deletions .changeset/pretty-flies-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

cor/services/relay/evm/mercury: switch to sqlutil.DataStore #internal
5 changes: 5 additions & 0 deletions .changeset/real-numbers-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

core/services/functions: switch to sqlutil.DataStore #internal
5 changes: 5 additions & 0 deletions .changeset/rich-jars-flow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Narrowing topic, data_word indexes by adding (evm_chain_id, address, event_sig) to the index definition #db_update
5 changes: 5 additions & 0 deletions .changeset/soft-hotels-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

switch more EVM components to use sqlutil.DataStore #internal
5 changes: 5 additions & 0 deletions .changeset/sweet-sloths-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

core/sessions: switch to sqlutil.DataSource #internal
5 changes: 5 additions & 0 deletions .changeset/swift-horses-unite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

core/bridges: use sqlutil.DataSource #internal
5 changes: 5 additions & 0 deletions .changeset/ten-clouds-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal
5 changes: 5 additions & 0 deletions .changeset/tender-crews-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

vrfv2plus - account for num words in coordinator gas overhead in v2plus wrapper
5 changes: 5 additions & 0 deletions .changeset/weak-emus-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

#internal Updated FindTxesWithAttemptsAndReceiptsByIdsAndState method signature to accept int64 for tx ID instead of big.Int
2 changes: 2 additions & 0 deletions .github/actions/build-sign-publish-chainlink/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ runs:
role-to-assume: ${{ inputs.aws-role-to-assume }}
role-duration-seconds: ${{ inputs.aws-role-duration-seconds }}
aws-region: ${{ inputs.aws-region }}
mask-aws-account-id: true
role-session-name: build-sign-publish-chainlink

- if: inputs.publish == 'true'
name: Login to ECR
Expand Down
5 changes: 4 additions & 1 deletion .github/actions/golangci-lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: CI lint for Golang
description: Runs CI lint for Golang
inputs:
# general inputs
id:
description: Unique metrics collection id
required: true
name:
description: Name of the lint action
default: lint
Expand Down Expand Up @@ -72,7 +75,7 @@ runs:
if: always()
uses: smartcontractkit/push-gha-metrics-action@dea9b546553cb4ca936607c2267a09c004e4ab3f # v3.0.0
with:
id: chainlink-golang-ci
id: chainlink-golang-ci-${{ inputs.id }}
basic-auth: ${{ inputs.gc-basic-auth }}
hostname: ${{ inputs.gc-host }}
org-id: ${{ inputs.gc-org-id }}
Expand Down
45 changes: 45 additions & 0 deletions .github/scripts/check-changeset-tags.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

# This checks for if at least one tag exists from a list of tags provided in a changeset file
#
# TAG LIST:
# #nops : For any feature that is NOP facing and needs to be in the official Release Notes for the release.
# #added : For any new functionality added.
# #changed : For any change to the existing functionality.
# #removed : For any functionality/config that is removed.
# #updated : For any functionality that is updated.
# #deprecation_notice : For any upcoming deprecation functionality.
# #breaking_change : For any functionality that requires manual action for the node to boot.
# #db_update : For any feature that introduces updates to database schema.
# #wip : For any change that is not ready yet and external communication about it should be held off till it is feature complete.
# #bugfix - For bug fixes.
# #internal - For changesets that need to be excluded from the final changelog.

if [ $# -eq 0 ]; then
echo "Error: No changeset file path provided."
exit 1
fi

CHANGESET_FILE_PATH=$1
tags_list=( "#nops" "#added" "#changed" "#removed" "#updated" "#deprecation_notice" "#breaking_change" "#db_update" "#wip" "#bugfix" "#internal" )
has_tags=false

if [[ ! -f "$CHANGESET_FILE_PATH" ]]; then
echo "Error: File '$CHANGESET_FILE_PATH' does not exist."
exit 1
fi

while IFS= read -r line; do
for tag in "${tags_list[@]}"; do
if [[ "$line" == *"$tag"* ]]; then
echo "Found tag: $tag in $CHANGESET_FILE_PATH"
has_tags=true
fi
done
done < "$CHANGESET_FILE_PATH"

if [[ "$has_tags" == false ]]; then
echo "Error: No tags found in $CHANGESET_FILE_PATH"
fi

echo "has_tags=$has_tags" >> $GITHUB_OUTPUT
8 changes: 2 additions & 6 deletions .github/workflows/build-publish-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,8 @@ jobs:
-l "app=${K8S_NAMESPACE}" \
-o custom-columns=:metadata.name --no-headers)
IFS=$'\n' read -r -d '' -a deployment_names_arr <<< "$deployment_node_names" || :
for name in "${deployment_names_arr[@]}"; do
echo "Restarting deployment: $name"
kubectl --namespace "${K8S_NAMESPACE}" \
rollout restart "deployment/${name}"
done
echo "Restarting deployments: $deployment_node_names"
kubectl rollout restart deployment $deployment_node_names --namespace "${K8S_NAMESPACE}"
- name: Collect Metrics
if: always()
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
tags:
- "v*"
branches:
- master
- "release/**"

jobs:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: "Build Chainlink"

on:
pull_request:
push:
branches:
- master

jobs:
build-chainlink:
Expand Down
52 changes: 50 additions & 2 deletions .github/workflows/changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@ on: pull_request

jobs:
changeset:
env:
TAGS: |
- `#added` For any new functionality added.
- `#breaking_change` For any functionality that requires manual action for the node to boot.
- `#bugfix` For bug fixes.
- `#changed` For any change to the existing functionality.
- `#db_update` For any feature that introduces updates to database schema.
- `#deprecation_notice` For any upcoming deprecation functionality.
- `#internal` For changesets that need to be excluded from the final changelog.
- `#nops` For any feature that is NOP facing and needs to be in the official Release Notes for the release.
- `#removed` For any functionality/config that is removed.
- `#updated` For any functionality that is updated.
- `#wip` For any change that is not ready yet and external communication about it should be held off till it is feature complete.
# For security reasons, GITHUB_TOKEN is read-only on forks, so we cannot leave comments on PRs.
# This check skips the job if it is detected we are running on a fork.
if: ${{ github.event.pull_request.head.repo.full_name == 'smartcontractkit/chainlink' }}
Expand All @@ -16,11 +30,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2

- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: files-changed
with:
token: ${{ secrets.GITHUB_TOKEN }}
predicate-quantifier: every
list-files: shell
filters: |
shared:
- common/**
Expand All @@ -41,15 +57,19 @@ jobs:
- added: '.changeset/**'
contracts-changeset:
- added: 'contracts/.changeset/**'
- name: Make a comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
if: ${{ (steps.files-changed.outputs.core == 'true' || steps.files-changed.outputs.shared == 'true') && steps.files-changed.outputs.core-changeset == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: "I see you updated files related to `core`. Please run `pnpm changeset` in the root directory to add a changeset."
message: |
I see you updated files related to `core`. Please run `pnpm changeset` in the root directory to add a changeset as well as in the text include at least one of the following tags:
${{ env.TAGS }}
reactions: eyes
comment_tag: changeset-core

- name: Make a comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
if: ${{ steps.files-changed.outputs.contracts == 'true' && steps.files-changed.outputs.contracts-changeset == 'false' }}
Expand All @@ -60,18 +80,46 @@ jobs:
I see you updated files related to `contracts`. Please run `pnpm changeset` in the `contracts` directory to add a changeset.
reactions: eyes
comment_tag: changeset-contracts

- name: Check for new changeset for core
if: ${{ (steps.files-changed.outputs.core == 'true' || steps.files-changed.outputs.shared == 'true') && steps.files-changed.outputs.core-changeset == 'false' }}
shell: bash
run: |
echo "Please run pnpm changeset to add a changeset for core."
echo "Please run pnpm changeset to add a changeset for core and include in the text at least one tag."
exit 1
- name: Check for new changeset for contracts
if: ${{ steps.files-changed.outputs.contracts == 'true' && steps.files-changed.outputs.contracts-changeset == 'false' }}
shell: bash
run: |
echo "Please run pnpm changeset to add a changeset for contracts."
exit 1
- name: Check for changeset tags for core
id: changeset-tags
if: ${{ steps.files-changed.outputs.core-changeset == 'true' }}
shell: bash
run: bash ./.github/scripts/check-changeset-tags.sh ${{ steps.files-changed.outputs.core-changeset_files }}

- name: Make a comment
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
if: ${{ steps.files-changed.outputs.core-changeset == 'true' && steps.changeset-tags.outputs.has_tags == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: |
I see you added a changeset file but it does not contain a tag. Please edit the text include at least one of the following tags:
${{ env.TAGS }}
reactions: eyes
comment_tag: changeset-core-tags

- name: Check for new changeset tags for core
if: ${{ steps.files-changed.outputs.core-changeset == 'true' && steps.changeset-tags.outputs.has_tags == 'false' }}
shell: bash
run: |
echo "Please include at least one tag in the core changeset file"
exit 1
- name: Collect Metrics
if: always()
id: collect-gha-metrics
Expand Down
Loading

0 comments on commit 47a2232

Please sign in to comment.