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
5 changes: 5 additions & 0 deletions .changeset/ca-certificates-rebuild.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#internal Rebuild on Ubuntu 24.04 with ca-certificates 20260816ubuntu0.24.04.1, which removes the compromised eMudhra intermediate CAs from the image trust store. Ubuntu 20.04 is out of standard support and does not receive the fix. Build stages move from Debian bullseye to bookworm because the bullseye security archive no longer serves packages. No code changes.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:
jobs:
checks:
name: "Checks"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
outputs:
git-tag-type: ${{ steps.check-git-tag-type.outputs.git-tag-type }}
ecr-image-name: ${{ steps.check-git-tag-type.outputs.ecr-image-name }}
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

build-sign-publish-chainlink:
needs: [checks]
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
environment: build-publish
permissions:
id-token: write
Expand Down
9 changes: 7 additions & 2 deletions contracts/scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
solc-select==1.0.4 --hash=sha256:db7b9de009af6de3a5416b80bbe5b6d636bf314703c016319b8c1231e248a6c7
solc-select==1.2.0 --hash=sha256:dd00cab29229570c4399058852a4052f2120d87c7e341e35f04794a13cfdd1de
pycryptodome==3.18.0 --hash=sha256:c9adee653fc882d98956e33ca2c1fb582e23a8af7ac82fee75bd6113c55a0413
packaging==23.1 --hash=sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f
packaging==23.1 --hash=sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f
requests==2.34.2 --hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0
urllib3==2.8.0 --hash=sha256:0cf3cae568d36aa9576b28dfb35f11328f1cb974ca7647d9475ebb86c75ac6e3
idna==3.20 --hash=sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c
certifi==2026.10.19 --hash=sha256:42d35340cc5b9ba78e818ddbff0c5b1c2b779de448a340fd1b989f5fa8670e1b
charset-normalizer==3.5.2 --hash=sha256:b6b751274acb69d77b3323d6b7dbaa3c7fdfc1eb829b7eb61d262f32e1af9685
6 changes: 3 additions & 3 deletions core/chainlink.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image: Chainlink binary
FROM golang:1.23-bullseye as buildgo
FROM golang:1.23-bookworm as buildgo

Check warning on line 2 in core/chainlink.Dockerfile

View check run for this annotation

CL-sonarqube-production / SonarQube Code Analysis

Replace "as" with upper case format "AS".

[S6476] Instructions should be upper case See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=24041&issues=45c1d011-50bf-42ac-b6af-18ffac3e2c39&open=45c1d011-50bf-42ac-b6af-18ffac3e2c39
RUN go version
WORKDIR /chainlink

Expand Down Expand Up @@ -31,7 +31,7 @@
RUN go list -m -f "{{.Dir}}" github.com/smartcontractkit/chainlink-solana | xargs -I % ln -s % /chainlink-solana

# Build image: Plugins
FROM golang:1.23-bullseye as buildplugins
FROM golang:1.23-bookworm as buildplugins

Check warning on line 34 in core/chainlink.Dockerfile

View check run for this annotation

CL-sonarqube-production / SonarQube Code Analysis

Replace "as" with upper case format "AS".

[S6476] Instructions should be upper case See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=24041&issues=ba8ffa1d-7476-490a-937c-ddbccdaf7b27&open=ba8ffa1d-7476-490a-937c-ddbccdaf7b27
RUN go version

WORKDIR /chainlink-feeds
Expand All @@ -43,7 +43,7 @@
RUN go install ./pkg/solana/cmd/chainlink-solana

# Final image: ubuntu with chainlink binary
FROM ubuntu:20.04
FROM ubuntu:24.04

ARG CHAINLINK_USER=root
ENV DEBIAN_FRONTEND noninteractive
Expand Down
9 changes: 9 additions & 0 deletions core/cmd/shell_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -1184,6 +1184,15 @@ func dumpSchema(dbURL url.URL) (string, error) {
dbURL.String(),
"--schema-only",
}

// pg_dump releases since August 2025 emit \restrict lines with a random key
// unless --restrict-key is set, so two dumps of the same schema never match.
// The dump is only compared against itself before and after rollback, so a
// fixed key is safe. Backport of #18985.
if help, err := exec.Command("pg_dump", "--help").Output(); err == nil && strings.Contains(string(help), "--restrict-key") {
args = append(args, "--restrict-key=chainlinktestrestrictkey")
}

cmd := exec.Command(
"pg_dump", args...,
)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chainlink",
"version": "2.20.0",
"version": "2.20.1",
"description": "node of the decentralized oracle network, bridging on and off-chain computation",
"main": "index.js",
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions plugins/chainlink.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build image: Chainlink binary
FROM golang:1.23-bullseye as buildgo
FROM golang:1.23-bookworm as buildgo

Check warning on line 2 in plugins/chainlink.Dockerfile

View check run for this annotation

CL-sonarqube-production / SonarQube Code Analysis

Replace "as" with upper case format "AS".

[S6476] Instructions should be upper case See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=24041&issues=494de607-c0cb-4d30-916a-b4a537d67b70&open=494de607-c0cb-4d30-916a-b4a537d67b70
RUN go version
WORKDIR /chainlink

Expand All @@ -20,7 +20,7 @@
RUN apt-get update && apt-get install -y jq

# Install Delve for debugging
RUN go install github.com/go-delve/delve/cmd/dlv@latest
RUN go install github.com/go-delve/delve/cmd/dlv@v1.24.2

Check warning on line 23 in plugins/chainlink.Dockerfile

View check run for this annotation

CL-sonarqube-production / SonarQube Code Analysis

Dependency versions are not predictable. Use a lock-file enforcing command instead.

[S8545] Go dependencies should be locked to verified versions See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=24041&issues=3b70cdc0-af55-4b7a-afa1-6fb78e7b0a6a&open=3b70cdc0-af55-4b7a-afa1-6fb78e7b0a6a

# Build the golang binaries
RUN make GO_GCFLAGS="${GO_GCFLAGS}" install-chainlink
Expand All @@ -39,7 +39,7 @@
RUN go list -m -f "{{.Dir}}" github.com/smartcontractkit/chainlink-starknet/relayer | xargs -I % ln -s % /chainlink-starknet/relayer

# Build image: Plugins
FROM golang:1.23-bullseye as buildplugins
FROM golang:1.23-bookworm as buildplugins

Check warning on line 42 in plugins/chainlink.Dockerfile

View check run for this annotation

CL-sonarqube-production / SonarQube Code Analysis

Replace "as" with upper case format "AS".

[S6476] Instructions should be upper case See more on https://sonarqube.main.prod.cldev.sh/project/issues?id=smartcontractkit_chainlink&pullRequest=24041&issues=db5a7701-8c6a-4481-8ee4-8fbd67d601e6&open=db5a7701-8c6a-4481-8ee4-8fbd67d601e6
RUN go version

WORKDIR /chainlink-feeds
Expand All @@ -60,7 +60,7 @@


# Final image: ubuntu with chainlink binary
FROM ubuntu:20.04
FROM ubuntu:24.04

ARG CHAINLINK_USER=root
ENV DEBIAN_FRONTEND noninteractive
Expand Down
5 changes: 2 additions & 3 deletions tools/ci/install_wasmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

set -euo pipefail

# commit on branch releases/v0.40.x
# upstream deleted the releases/v0.40.x branch; the tag is still published
GIT_TAG="v0.40.1"

CHECKOUT_DIR="${HOME}/wasmd-checkout"
BUILD_DIR="${HOME}/wasmd-build"

git clone https://github.com/CosmWasm/wasmd --branch "releases/v0.40.x" "${CHECKOUT_DIR}"
git clone https://github.com/CosmWasm/wasmd --branch "${GIT_TAG}" --depth 1 "${CHECKOUT_DIR}"
cd "${CHECKOUT_DIR}"
git checkout "${GIT_TAG}"
GOPATH="${BUILD_DIR}" make install
Loading