From ab9f90f06fd92eb3a23d8a55c65dfddb1e7139d0 Mon Sep 17 00:00:00 2001 From: John Saigle Date: Thu, 21 May 2026 11:21:16 -0400 Subject: [PATCH] go1.26 --- .github/workflows/build.yml | 10 +++++----- DEVELOP.md | 2 +- Dockerfile.proto | 4 ++-- docs/operations.md | 4 ++-- node/Dockerfile | 2 +- node/go.mod | 2 +- node/hack/query/ccqlistener/Dockerfile | 2 +- scripts/Dockerfile.lint | 2 +- scripts/coverage-check/go.mod | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 627a2caaf6e..82e0c570c83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,7 +56,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version: "1.25.10" + go-version: "1.26.3" - run: make node algorand: @@ -282,7 +282,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version: "1.25.10" + go-version: "1.26.3" - run: cd sdk/vaa && go test -v -fuzz FuzzCalculateQuorum -run FuzzCalculateQuorum -fuzztime 15s # Run Go linters @@ -301,7 +301,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version: "1.25.10" + go-version: "1.26.3" - name: Install formatter run: go install golang.org/x/tools/cmd/goimports@v0.8.0 - name: Formatting checks @@ -347,7 +347,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version: "1.25.10" + go-version: "1.26.3" # The go-ethereum and celo-blockchain packages both implement secp256k1 using the exact same header, but that causes duplicate symbols. - name: Run golang tests with coverage run: make test-coverage @@ -366,7 +366,7 @@ jobs: persist-credentials: false - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version: "1.25.10" + go-version: "1.26.3" - name: Download coverage output uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 with: diff --git a/DEVELOP.md b/DEVELOP.md index c6aca69fff6..5aba9410af3 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -4,7 +4,7 @@ The following dependencies are required for local development: -- [Go](https://golang.org/dl/) >= 1.25.10 (latest minor release is recommended) +- [Go](https://golang.org/dl/) >= 1.26.3 (latest minor release is recommended) - [golangci-lint](https://golangci-lint.run/welcome/install/#install-from-sources) >= 2.1.2 - [Tilt](http://tilt.dev/) >= 0.20.8 - Any of the local Kubernetes clusters supported by Tilt. diff --git a/Dockerfile.proto b/Dockerfile.proto index 59dd44f72e0..66ade3787b2 100644 --- a/Dockerfile.proto +++ b/Dockerfile.proto @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 -FROM docker.io/golang:1.25.10-bookworm@sha256:154bd7001b6eb339e88c964442c0ad6ed5e53f09844cc818a41ce4ecb3ce3b43 AS go-tools +FROM docker.io/golang:1.26.3-bookworm@sha256:386d475a660466863d9f8c766fec64d7fdad3edac2c6a05020c09534d71edb4b AS go-tools RUN mkdir /app @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.cache --mount=type=cache,target=/go \ cd /app/tools && CGO_ENABLED=0 ./build.sh # syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 -FROM docker.io/golang:1.25.10-bookworm@sha256:154bd7001b6eb339e88c964442c0ad6ed5e53f09844cc818a41ce4ecb3ce3b43 AS go-build +FROM docker.io/golang:1.26.3-bookworm@sha256:386d475a660466863d9f8c766fec64d7fdad3edac2c6a05020c09534d71edb4b AS go-build COPY --from=go-tools /app /app diff --git a/docs/operations.md b/docs/operations.md index afd00c6d13c..7a3c3d18542 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -113,7 +113,7 @@ All guardians **must run validators for wormchain**, the codename of [Wormhole G #### Pre-requisites -- Ensure you have [Go](https://golang.org/dl/) >= 1.25.10 installed. +- Ensure you have [Go](https://golang.org/dl/) >= 1.26.3 installed. #### Building wormchaind binary @@ -304,7 +304,7 @@ The following Cosmos based nodes were added prior to Gateway and guardians need For security reasons, we do not provide a pre-built binary. You need to check out the repo and build the guardiand binary from source. A Git repo is much harder to tamper with than release binaries. -To build the Wormhole node, you need [Go](https://golang.org/dl/) >= 1.25.10 +To build the Wormhole node, you need [Go](https://golang.org/dl/) >= 1.26.3 First, check out the version of the Wormhole repo that you want to deploy: diff --git a/node/Dockerfile b/node/Dockerfile index 07eba4e4ef3..0cf66a3b475 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 -FROM docker.io/golang:1.25.10-bookworm@sha256:154bd7001b6eb339e88c964442c0ad6ed5e53f09844cc818a41ce4ecb3ce3b43 AS dev +FROM docker.io/golang:1.26.3-bookworm@sha256:386d475a660466863d9f8c766fec64d7fdad3edac2c6a05020c09534d71edb4b AS dev FROM dev AS build diff --git a/node/go.mod b/node/go.mod index 77aef1893d2..0bbfb92543f 100644 --- a/node/go.mod +++ b/node/go.mod @@ -1,6 +1,6 @@ module github.com/certusone/wormhole/node -go 1.25.10 +go 1.26.3 require ( github.com/cenkalti/backoff/v4 v4.2.0 diff --git a/node/hack/query/ccqlistener/Dockerfile b/node/hack/query/ccqlistener/Dockerfile index 0ba53ada0a7..e99f210f933 100644 --- a/node/hack/query/ccqlistener/Dockerfile +++ b/node/hack/query/ccqlistener/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 -FROM --platform=linux/amd64 docker.io/golang:1.25.10-bookworm@sha256:154bd7001b6eb339e88c964442c0ad6ed5e53f09844cc818a41ce4ecb3ce3b43 AS build +FROM --platform=linux/amd64 docker.io/golang:1.26.3-bookworm@sha256:386d475a660466863d9f8c766fec64d7fdad3edac2c6a05020c09534d71edb4b AS build # libwasmvm.so is not compatible with arm WORKDIR /app diff --git a/scripts/Dockerfile.lint b/scripts/Dockerfile.lint index a66f32d0648..b5cdf141398 100644 --- a/scripts/Dockerfile.lint +++ b/scripts/Dockerfile.lint @@ -1,5 +1,5 @@ # syntax=docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 -FROM docker.io/golang:1.25.10-bookworm@sha256:154bd7001b6eb339e88c964442c0ad6ed5e53f09844cc818a41ce4ecb3ce3b43 +FROM docker.io/golang:1.26.3-bookworm@sha256:386d475a660466863d9f8c766fec64d7fdad3edac2c6a05020c09534d71edb4b RUN useradd -u 1000 -U -m -d /home/lint lint USER 1000 diff --git a/scripts/coverage-check/go.mod b/scripts/coverage-check/go.mod index d9f1a2e5919..61fdec7f9c9 100644 --- a/scripts/coverage-check/go.mod +++ b/scripts/coverage-check/go.mod @@ -1,4 +1,4 @@ module github.com/certusone/wormhole/scripts/coverage-check // Should match what's used in CI -go 1.25.10 +go 1.26.3