Skip to content

Commit

Permalink
Merge branch 'develop' into tt_922_automation_seth
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofel committed Apr 29, 2024
2 parents 0d54262 + 22fe929 commit 09867b1
Show file tree
Hide file tree
Showing 390 changed files with 19,282 additions and 9,040 deletions.
7 changes: 7 additions & 0 deletions .changeset/brave-dots-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"chainlink": minor
---

Added a new CLI command, `blocks find-lca,` which finds the latest block that is available in both the database and on the chain for the specified chain.
Added a new CLI command, `node remove-blocks,` which removes all blocks and logs greater than or equal to the specified block number.
#nops #added
5 changes: 5 additions & 0 deletions .changeset/curvy-weeks-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#wip Keystone contract wrappers updated
5 changes: 5 additions & 0 deletions .changeset/dull-dingos-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

use safe lib for approve #bugfix
5 changes: 5 additions & 0 deletions .changeset/fresh-moles-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

core/chains/evm/logpoller: Stricter finality checks in LogPoller, to be more robust during rpc failover events #updated
5 changes: 5 additions & 0 deletions .changeset/fuzzy-pans-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Use sqlutil instead of pg.Opts/Q/Queryer #internal
5 changes: 5 additions & 0 deletions .changeset/olive-knives-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal Generic Plugin `onchainSigningStrategy` support
5 changes: 5 additions & 0 deletions .changeset/pink-schools-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#bugfix Fixed an issue where the `rebroadcast-transactions` commands did not execute config validation.
5 changes: 5 additions & 0 deletions .changeset/pretty-kangaroos-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

Add check for valid semvar value for changeset file #internal
5 changes: 5 additions & 0 deletions .changeset/quick-fishes-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---
#changed
Added prefix `RPCClient returned error ({RPC_NAME})` to RPC errors to simplify filtering of RPC related issues.
5 changes: 5 additions & 0 deletions .changeset/smooth-comics-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

update keystone gethwrapper with remove operator function #internal
13 changes: 13 additions & 0 deletions .changeset/sour-jars-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"chainlink": patch
---

#added

Add configurability to mercury transmitter

```toml
[Mercury.Transmitter]
TransmitQueueMaxSize = 10_000 # Default
TransmitTimeout = "5s" # Default
```
5 changes: 5 additions & 0 deletions .changeset/tasty-lions-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

add getters #internal
5 changes: 5 additions & 0 deletions .changeset/tidy-trees-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#changed Updating the log trigger log provider's readMaxBatchSize to 56
5 changes: 5 additions & 0 deletions .changeset/tricky-bats-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

minor fixes #bugfix
5 changes: 5 additions & 0 deletions .changeset/two-countries-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

update keystone gethwrapper #internal
5 changes: 5 additions & 0 deletions .changeset/warm-impalas-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#added JuelsPerFeeCoinCache is enabled by default for OCR2 jobs, added `Disable` field under [pluginConfig.JuelsPerFeeCoinCache] tag to disable this feature (e.g. Disable=true)
5 changes: 5 additions & 0 deletions .changeset/witty-icons-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

offchain settlement fix #bugfix
10 changes: 0 additions & 10 deletions .ct.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/actions/setup-create-base64-upgrade-config/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,23 @@ inputs:
default: "public.ecr.aws/chainlink/chainlink"
upgradeVersion:
description: The git commit sha to use for the image tag
runId:
description: The run id
testLogCollect:
description: Whether to always collect logs, even for passing tests
default: "false"
lokiEndpoint:
description: Loki push endpoint
lokiTenantId:
description: Loki tenant id
lokiBasicAuth:
description: Loki basic auth
logstreamLogTargets:
description: Where to send logs (e.g. file, loki)
grafanaUrl:
description: Grafana URL
grafanaDashboardUrl:
description: Grafana dashboard URL

runs:
using: composite
Expand All @@ -31,6 +48,14 @@ runs:
CHAINLINK_POSTGRES_VERSION: ${{ inputs.chainlinkPostgresVersion }}
UPGRADE_IMAGE: ${{ inputs.upgradeImage }}
UPGRADE_VERSION: ${{ inputs.upgradeVersion }}
RUN_ID: ${{ inputs.runId }}
TEST_LOG_COLLECT: ${{ inputs.testLogCollect }}
LOKI_ENDPOINT: ${{ inputs.lokiEndpoint }}
LOKI_TENANT_ID: ${{ inputs.lokiTenantId }}
LOKI_BASIC_AUTH: ${{ inputs.lokiBasicAuth }}
LOGSTREAM_LOG_TARGETS: ${{ inputs.logstreamLogTargets }}
GRAFANA_URL: ${{ inputs.grafanaUrl }}
GRAFANA_DASHBOARD_URL: ${{ inputs.grafanaDashboardUrl }}
run: |
function convert_to_toml_array() {
local IFS=','
Expand All @@ -47,6 +72,14 @@ runs:
selected_networks=$(convert_to_toml_array "$SELECTED_NETWORKS")
if [ -n "$TEST_LOG_COLLECT" ]; then
test_log_collect=true
else
test_log_collect=false
fi
log_targets=$(convert_to_toml_array "$LOGSTREAM_LOG_TARGETS")
cat << EOF > config.toml
[Network]
selected_networks=$selected_networks
Expand All @@ -59,6 +92,23 @@ runs:
[ChainlinkUpgradeImage]
image="$UPGRADE_IMAGE"
version="$UPGRADE_VERSION"
postgres_version="$CHAINLINK_POSTGRES_VERSION"
[Logging]
test_log_collect=$test_log_collect
run_id="$RUN_ID"
[Logging.LogStream]
log_targets=$log_targets
[Logging.Loki]
tenant_id="$LOKI_TENANT_ID"
endpoint="$LOKI_ENDPOINT"
basic_auth_secret="$LOKI_BASIC_AUTH"
[Logging.Grafana]
base_url="$GRAFANA_URL"
dashboard_url="$GRAFANA_DASHBOARD_URL"
EOF
BASE64_CONFIG_OVERRIDE=$(cat config.toml | base64 -w 0)
Expand Down
8 changes: 8 additions & 0 deletions .github/scripts/check-changeset-tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ if [[ ! -f "$CHANGESET_FILE_PATH" ]]; then
exit 1
fi

changeset_content=$(sed -n '/^---$/,/^---$/{ /^---$/!p; }' $CHANGESET_FILE_PATH)
semvar_value=$(echo "$changeset_content" | awk -F": " '/"chainlink"/ {print $2}')

if [[ "$semvar_value" != "major" && "$semvar_value" != "minor" && "$semvar_value" != "patch" ]]; then
echo "Invalid changeset semvar value for 'chainlink'. Must be 'major', 'minor', or 'patch'."
exit 1
fi

while IFS= read -r line; do
for tag in "${tags_list[@]}"; do
if [[ "$line" == *"$tag"* ]]; then
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/automation-nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ jobs:
chainlinkVersion: "latest"
upgradeImage: ${{ env.CHAINLINK_IMAGE }}
upgradeVersion: ${{ github.sha }}
runId: ${{ github.run_id }}
testLogCollect: "true"
lokiEndpoint: https://${{ secrets.GRAFANA_INTERNAL_HOST }}/loki/api/v1/push
lokiTenantId: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
lokiBasicAuth: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
logstreamLogTargets: ${{ vars.LOGSTREAM_LOG_TARGETS }}
grafanaUrl: ${{ vars.GRAFANA_URL }}
grafanaDashboardUrl: "/d/ddf75041-1e39-42af-aa46-361fe4c36e9e/ci-e2e-tests-logs"
- name: Run Tests
uses: smartcontractkit/chainlink-github-actions/chainlink-testing-framework/run-tests@5dd916d08c03cb5f9a97304f4f174820421bb946 # v2.3.11
env:
Expand Down
34 changes: 33 additions & 1 deletion .github/workflows/automation-ondemand-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,15 @@ jobs:
UPGRADE_IMAGE: ${{ steps.determine-build.outputs.upgrade_image }}
PYROSCOPE_SERVER: ${{ matrix.tests.pyroscope_env == '' && '' || !startsWith(github.ref, 'refs/tags/') && '' || secrets.QA_PYROSCOPE_INSTANCE }} # Avoid sending blank envs https://github.com/orgs/community/discussions/25725
PYROSCOPE_ENVIRONMENT: ${{ matrix.tests.pyroscope_env }}
PYROSCOPE_KEY: ${{ secrets.QA_PYROSCOPE_KEY }}
PYROSCOPE_KEY: ${{ secrets.QA_PYROSCOPE_KEY }}
RUN_ID: ${{ github.run_id }}
TEST_LOG_COLLECT: "true"
LOKI_ENDPOINT: https://${{ secrets.GRAFANA_INTERNAL_HOST }}/loki/api/v1/push
LOKI_TENANT_ID: ${{ secrets.GRAFANA_INTERNAL_TENANT_ID }}
LOKI_BASIC_AUTH: ${{ secrets.GRAFANA_INTERNAL_BASIC_AUTH }}
LOGSTREAM_LOG_TARGETS: ${{ vars.LOGSTREAM_LOG_TARGETS }}
GRAFANA_URL: ${{ vars.GRAFANA_URL }}
GRAFANA_DASHBOARD_URL: "/d/ddf75041-1e39-42af-aa46-361fe4c36e9e/ci-e2e-tests-logs"
run: |
echo ::add-mask::$UPGRADE_IMAGE
echo ::add-mask::$OLD_IMAGE
Expand All @@ -242,6 +250,14 @@ jobs:
pyroscope_enabled=false
fi
if [ -n "$TEST_LOG_COLLECT" ]; then
test_log_collect=true
else
test_log_collect=false
fi
log_targets=$(convert_to_toml_array "$LOGSTREAM_LOG_TARGETS")
cat << EOF > config.toml
[Network]
selected_networks=$selected_networks
Expand All @@ -254,6 +270,22 @@ jobs:
image="$UPGRADE_IMAGE"
version="$UPGRADE_VERSION"
[Logging]
test_log_collect=$test_log_collect
run_id="$RUN_ID"
[Logging.LogStream]
log_targets=$log_targets
[Logging.Loki]
tenant_id="$LOKI_TENANT_ID"
endpoint="$LOKI_ENDPOINT"
basic_auth_secret="$LOKI_BASIC_AUTH"
[Logging.Grafana]
base_url="$GRAFANA_URL"
dashboard_url="$GRAFANA_DASHBOARD_URL"
[Pyroscope]
enabled=$pyroscope_enabled
server_url="$PYROSCOPE_SERVER"
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/helm-chart-publish.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/helm-chart.yml

This file was deleted.

Loading

0 comments on commit 09867b1

Please sign in to comment.