diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 71e577356..62dfcfedb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -25,7 +25,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - go-version: [ "1.22.x" ] + go-version: [ "1.23.x" ] services: postgres: image: postgres:16.3-alpine3.20 diff --git a/.github/workflows/localnet-test.yml b/.github/workflows/localnet-test.yml index 8ad339640..a4f155adb 100644 --- a/.github/workflows/localnet-test.yml +++ b/.github/workflows/localnet-test.yml @@ -20,7 +20,7 @@ jobs: runs-on: "ubuntu-latest" strategy: matrix: - go-version: [ "1.22.x" ] + go-version: [ "1.23.x" ] steps: - name: "Checkout repository" uses: actions/checkout@v4 @@ -42,4 +42,3 @@ jobs: working-directory: ./e2e/monitor # XXX should this be a make command? run: go test -v ./... - diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index c79f11ee6..676b11738 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -17,7 +17,7 @@ concurrency: cancel-in-progress: "${{ github.event_name == 'pull_request' }}" env: - GO_VERSION: "1.22.x" + GO_VERSION: "1.23.x" PNPM_VERSION: "9.4.x" jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d5dcc302..22f5a5c2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ concurrency: cancel-in-progress: true env: - GO_VERSION: "1.22.x" + GO_VERSION: "1.23.x" PNPM_VERSION: "9.4.x" jobs: diff --git a/README.md b/README.md index f50e939bd..78a7b79fc 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Pre-built binaries are available on the [Releases Page](https://github.com/hemil - `git` - `make` -- [Go v1.22.2+](https://go.dev/dl/) +- [Go v1.23+](https://go.dev/dl/) ### Building with Makefile diff --git a/cmd/tbcd/README.md b/cmd/tbcd/README.md index c199ca029..9beae2929 100644 --- a/cmd/tbcd/README.md +++ b/cmd/tbcd/README.md @@ -25,7 +25,7 @@ endpoint.** ### 🏁 Prerequisites -Ensure Go v1.22.2 or newer is installed on your system. +Ensure Go v1.23 or newer is installed on your system. ### Using Makefile @@ -110,4 +110,3 @@ The `tbcd` daemon runs an RPC server that listens on the address provided by the The RPC protocol is **WebSocket-based** and **uses a standard request/response model.** [Read more about the RPC protocol and available commands](../../api/tbcapi/README.md). - diff --git a/docker/bfgd/Dockerfile b/docker/bfgd/Dockerfile index 1087862cc..2fe83af0d 100644 --- a/docker/bfgd/Dockerfile +++ b/docker/bfgd/Dockerfile @@ -3,7 +3,7 @@ # which can be found in the LICENSE file. # Build stage -FROM golang:1.22.6-alpine3.20@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 AS builder +FROM golang:1.23-alpine3.20@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 AS builder # Add ca-certificates, timezone data, make and git RUN apk --no-cache add --update ca-certificates tzdata make git diff --git a/docker/bssd/Dockerfile b/docker/bssd/Dockerfile index 690a638ba..b13d672a3 100644 --- a/docker/bssd/Dockerfile +++ b/docker/bssd/Dockerfile @@ -3,7 +3,7 @@ # which can be found in the LICENSE file. # Build stage -FROM golang:1.22.6-alpine3.20@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 AS builder +FROM golang:1.23-alpine3.20@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 AS builder # Add ca-certificates, timezone data, make and git RUN apk --no-cache add --update ca-certificates tzdata make git diff --git a/docker/popmd/Dockerfile b/docker/popmd/Dockerfile index 4ed86109e..8ffcc7272 100644 --- a/docker/popmd/Dockerfile +++ b/docker/popmd/Dockerfile @@ -3,7 +3,7 @@ # which can be found in the LICENSE file. # Build stage -FROM golang:1.22.6-alpine3.20@sha256:1a478681b671001b7f029f94b5016aed984a23ad99c707f6a0ab6563860ae2f3 AS builder +FROM golang:1.23-alpine3.20@sha256:d0b31558e6b3e4cc59f6011d79905835108c919143ebecc58f35965bf79948f4 AS builder # Add ca-certificates, timezone data, make and git RUN apk --no-cache add --update ca-certificates tzdata make git diff --git a/e2e/monitor/README.md b/e2e/monitor/README.md index c8e914ac5..48e19b0fb 100644 --- a/e2e/monitor/README.md +++ b/e2e/monitor/README.md @@ -5,7 +5,7 @@ that we want to test against. ## Prerequisites -* Go 1.22+ +* Go 1.23+ * `docker` available in your cli ## Running @@ -46,4 +46,4 @@ after these milliseconds, values will be read and dumped. ``` $ HEMI_E2E_DUMP_JSON_AFTER_MS=10000 go run ./... {"bitcoin_block_count":3011,"pop_tx_count":20,"first_batcher_publication_hash":"0x2b86a72b48668b7a35dcab99166f9330c884c50d1b19847c3c0569a0d0806465,21","last_batcher_publication_hash":"0x5ec52eeba46c300e98546de25991c1862ef8dd11c3ee3357ee2a717517e2fe8c,192","batcher_publication_count":34,"pop_miner_hemi_balance":"14000000000000000000"} -``` \ No newline at end of file +``` diff --git a/e2e/monitor/go.mod b/e2e/monitor/go.mod index 199ccdef6..eda59c895 100644 --- a/e2e/monitor/go.mod +++ b/e2e/monitor/go.mod @@ -1,6 +1,8 @@ module github.com/hemilabs/heminetwork/e2e/monitor -go 1.22.6 +go 1.22 + +toolchain go1.23.0 replace github.com/hemilabs/heminetwork => ../../ diff --git a/e2e/optimism-stack.Dockerfile b/e2e/optimism-stack.Dockerfile index b9c3e8050..db37f1bf2 100644 --- a/e2e/optimism-stack.Dockerfile +++ b/e2e/optimism-stack.Dockerfile @@ -2,7 +2,7 @@ # Use of this source code is governed by the MIT License, # which can be found in the LICENSE file. -FROM golang:1.22.6-bookworm@sha256:39b7e6ebaca464d51989858871f792f2e186dce8ce0cbdba7e88e4444b244407 +FROM golang:1.23-bookworm@sha256:31dc846dd1bcca84d2fa231bcd16c09ff271bcc1a5ae2c48ff10f13b039688f3 RUN apt-get update diff --git a/go.mod b/go.mod index e9c951072..f3f799381 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/hemilabs/heminetwork go 1.22 -toolchain go1.22.6 +toolchain go1.23.0 // Temporary replace until we upstream our ws_js patch. replace github.com/coder/websocket v1.8.12 => github.com/hemilabs/websocket v0.0.0-20240813101919-bf33653e9aa5