From 6291799cfae8ca9648ce2b8fbbbfc513a07d8342 Mon Sep 17 00:00:00 2001 From: Shrenuj Bansal Date: Fri, 26 Aug 2022 14:19:17 -0400 Subject: [PATCH] Change go version to 1.18.1 in more readmes --- CHANGELOG.md | 2 +- Makefile | 2 +- README.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfdab9572..235763772 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -368,7 +368,7 @@ This is an optional release of lotus that include new APIs, some improvements an This is a highly recommended feature lotus release v1.15.2. This feature release introduces many new features and for SPs, including PoSt workers, sealing scheduler, snap deal queue and so on. -Note: You need to be using go v1.17.9&up from this release onwards. +Note: You need to be using go v1.18.1&up from this release onwards. ## Highlights ### ❣️❣️❣️ PoSt Workers ❣️❣️❣️ diff --git a/Makefile b/Makefile index 16f78342e..7dbb26945 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ GOCC?=go GOVERSION:=$(shell $(GOCC) version | tr ' ' '\n' | grep go1 | sed 's/^go//' | awk -F. '{printf "%d%03d%03d", $$1, $$2, $$3}') ifeq ($(shell expr $(GOVERSION) \< 1016000), 1) $(warning Your Golang version is go$(shell expr $(GOVERSION) / 1000000).$(shell expr $(GOVERSION) % 1000000 / 1000).$(shell expr $(GOVERSION) % 1000)) -$(error Update Golang to version to at least 1.17.9) +$(error Update Golang to version to at least 1.18.1) endif # git modules that need to be loaded diff --git a/README.md b/README.md index 6097343eb..0b3062520 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,10 @@ For other distributions you can find the required dependencies [here.](https://d #### Go -To build Lotus, you need a working installation of [Go 1.17.9 or higher](https://golang.org/dl/): +To build Lotus, you need a working installation of [Go 1.18.1 or higher](https://golang.org/dl/): ```bash -wget -c https://golang.org/dl/go1.17.9.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local +wget -c https://golang.org/dl/go1.18.1.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local ``` **TIP:**