Skip to content

Commit b2502b5

Browse files
authoredJul 2, 2021
tooling: use go version 1.16 as minimum version (#6642)
1 parent 0e9bec1 commit b2502b5

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed
 

‎DOCKER/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# stage 1 Generate Tendermint Binary
2-
FROM golang:1.15-alpine as builder
2+
FROM golang:1.16-alpine as builder
33
RUN apk update && \
44
apk upgrade && \
55
apk --no-cache add make

‎DOCKER/Dockerfile.build_c-amazonlinux

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm &
99
RUN yum -y groupinstall "Development Tools"
1010
RUN yum -y install leveldb-devel which
1111

12-
ENV GOVERSION=1.12.9
12+
ENV GOVERSION=1.16.5
1313

1414
RUN cd /tmp && \
1515
wget https://dl.google.com/go/go${GOVERSION}.linux-amd64.tar.gz && \

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Or [Blockchain](<https://en.wikipedia.org/wiki/Blockchain_(database)>), for shor
88

99
[![version](https://img.shields.io/github/tag/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/releases/latest)
1010
[![API Reference](https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667)](https://pkg.go.dev/github.com/tendermint/tendermint)
11-
[![Go version](https://img.shields.io/badge/go-1.15-blue.svg)](https://github.com/moovweb/gvm)
11+
[![Go version](https://img.shields.io/badge/go-1.16-blue.svg)](https://github.com/moovweb/gvm)
1212
[![Discord chat](https://img.shields.io/discord/669268347736686612.svg)](https://discord.gg/vcExX9T)
1313
[![license](https://img.shields.io/github/license/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/blob/master/LICENSE)
1414
[![tendermint/tendermint](https://tokei.rs/b1/github/tendermint/tendermint?category=lines)](https://github.com/tendermint/tendermint)
@@ -48,7 +48,7 @@ to notify you of vulnerabilities and fixes in Tendermint Core. You can subscribe
4848

4949
| Requirement | Notes |
5050
|-------------|------------------|
51-
| Go version | Go1.15 or higher |
51+
| Go version | Go1.16 or higher |
5252

5353
## Documentation
5454

‎UPGRADING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ will need to change to accommodate these changes. Most notably:
8080
This release is not compatible with previous blockchains due to changes to
8181
the encoding format (see "Protocol Buffers," below) and the block header (see "Blockchain Protocol").
8282

83-
Note also that Tendermint 0.34 also requires Go 1.15 or higher.
83+
Note also that Tendermint 0.34 also requires Go 1.16 or higher.
8484

8585
### ABCI Changes
8686

‎docs/tutorials/go-built-in.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Verify that you have the latest version of Go installed:
4040

4141
```bash
4242
$ go version
43-
go version go1.15.x darwin/amd64
43+
go version go1.16.x darwin/amd64
4444
```
4545

4646
## 1.2 Creating a new Go project

‎docs/tutorials/go.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Verify that you have the latest version of Go installed:
4343

4444
```bash
4545
$ go version
46-
go version go1.15.x darwin/amd64
46+
go version go1.16.x darwin/amd64
4747
```
4848

4949
## 1.2 Creating a new Go project
@@ -446,7 +446,7 @@ This will populate the `go.mod` with a release number followed by a hash for Ten
446446
```go
447447
module github.com/me/example
448448

449-
go 1.15
449+
go 1.16
450450

451451
require (
452452
github.com/dgraph-io/badger v1.6.2

‎go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tendermint/tendermint
22

3-
go 1.15
3+
go 1.16
44

55
require (
66
github.com/BurntSushi/toml v0.3.1

‎networks/remote/integration.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ sudo apt-get upgrade -y
1010
sudo apt-get install -y jq unzip python-pip software-properties-common make
1111

1212
# get and unpack golang
13-
curl -O https://dl.google.com/go/go1.15.4.linux-amd64.tar.gz
14-
tar -xvf go1.15.4.linux-amd64.tar.gz
13+
curl -O https://dl.google.com/go/go1.16.5.linux-amd64.tar.gz
14+
tar -xvf go1.16.5.linux-amd64.tar.gz
1515

1616
## move binary and add to path
1717
mv go /usr/local

‎test/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15
1+
FROM golang:1.16
22

33
# Grab deps (jq, hexdump, xxd, killall)
44
RUN apt-get update && \

‎test/e2e/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# We need to build in a Linux environment to support C libraries, e.g. RocksDB.
22
# We use Debian instead of Alpine, so that we can use binary database packages
33
# instead of spending time compiling them.
4-
FROM golang:1.15
4+
FROM golang:1.16
55

66
RUN apt-get -qq update -y && apt-get -qq upgrade -y >/dev/null
77
RUN apt-get -qq install -y libleveldb-dev librocksdb-dev >/dev/null

0 commit comments

Comments
 (0)
Please sign in to comment.