From 14bfb70067ead0442945aa4665a85dccedcd1a0b Mon Sep 17 00:00:00 2001 From: Phi-rjan Date: Mon, 16 Sep 2024 17:09:18 +0200 Subject: [PATCH] chore(build): update minimum go-version (#12459) * chore(build): update minimum go-version chore(build): update minimum go-version * chore: min go-version warning in changelog chore: min go-version warning in changelog * chore: update PR-number in changelog chore: update PR-number in changelog * chore: update go-version in actors-test chore: update go-version in actors-test --- .github/workflows/builtin-actor-tests.yml | 2 +- CHANGELOG.md | 2 ++ Dockerfile | 2 +- GO_VERSION_MIN | 2 +- README.md | 4 ++-- go.mod | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/builtin-actor-tests.yml b/.github/workflows/builtin-actor-tests.yml index c24d8db1f9c..29746c583e4 100644 --- a/.github/workflows/builtin-actor-tests.yml +++ b/.github/workflows/builtin-actor-tests.yml @@ -19,5 +19,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - run: go test -tags=release ./build diff --git a/CHANGELOG.md b/CHANGELOG.md index 669129d5af5..37c0fb1c8d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ ## ☢️ Upgrade Warnings ☢️ +- Minimum go-version been updated to v1.22.7 ([filecoin-project/lotus#12459](https://github.com/filecoin-project/lotus/pull/12459)) + ## New features * Add `EthSendRawTransactionUntrusted` RPC method to be used for the gateway when accepting `EthSendRawTransaction` and `eth_sendRawTransaction`. Applies a tighter limit on the number of messages in the queue from a single sender and applies additional restrictions on nonce increments. ([filecoin-project/lotus#12431](https://github.com/filecoin-project/lotus/pull/12431)) diff --git a/Dockerfile b/Dockerfile index 51a39ed0395..cc41a084be0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ##################################### -FROM golang:1.21.7-bullseye AS lotus-builder +FROM golang:1.22.7-bullseye AS lotus-builder MAINTAINER Lotus Development Team RUN apt-get update && apt-get install -y ca-certificates build-essential clang ocl-icd-opencl-dev ocl-icd-libopencl1 jq libhwloc-dev diff --git a/GO_VERSION_MIN b/GO_VERSION_MIN index 8819d012cee..87b26e8b1aa 100644 --- a/GO_VERSION_MIN +++ b/GO_VERSION_MIN @@ -1 +1 @@ -1.21.7 +1.22.7 diff --git a/README.md b/README.md index 5c088bf706e..99997bcf5e2 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,10 @@ For other distributions you can find the required dependencies [here.](https://l #### Go -To build Lotus, you need a working installation of [Go 1.21.7 or higher](https://golang.org/dl/): +To build Lotus, you need a working installation of [Go 1.22.7 or higher](https://golang.org/dl/): ```bash -wget -c https://golang.org/dl/go1.21.7.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local +wget -c https://golang.org/dl/go1.22.7.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local ``` **TIP:** diff --git a/go.mod b/go.mod index 0c3d8b40a5d..e519b19b883 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/filecoin-project/lotus -go 1.21 +go 1.22 retract v1.14.0 // Accidentally force-pushed tag, use v1.14.1+ instead.