Skip to content

Commit

Permalink
Merge PR cosmos#316: Build with Go 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessio Treglia authored Mar 11, 2020
1 parent 6fa49d8 commit ec3c84a
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ version: 2.1
executors:
golang:
docker:
- image: circleci/golang:1.13
- image: circleci/golang:1.14
working_directory: /go/src/github.com/cosmos/gaia
mac:
macos:
xcode: "10.3.0"
working_directory: /Users/distiller/project/src/github.com/cosmos/gaia
environment:
GO_VERSION: "1.13"
GO_VERSION: "1.14"
docs:
docker:
- image: tendermintdev/docker-website-deployment
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
GOPATH: /home/circleci/.go_workspace/
GOOS: linux
GOARCH: amd64
GO_VERSION: "1.13"
GO_VERSION: "1.14"
parallelism: 1
steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

This repository hosts `Gaia`, the first implementation of the Cosmos Hub based on the [Cosmos SDK](https://github.com/cosmos/cosmos-sdk).

**Note**: Requires [Go 1.13+](https://golang.org/dl/)
**Note**: Requires [Go 1.14+](https://golang.org/dl/)

## Cosmos Hub Mainnet

Expand Down
2 changes: 1 addition & 1 deletion contrib/gitian-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set -euo pipefail

GITIAN_CACHE_DIRNAME='.gitian-builder-cache'
GO_RELEASE='1.13.7'
GO_RELEASE='1.14'
GO_TARBALL="go${GO_RELEASE}.linux-amd64.tar.gz"
GO_TARBALL_URL="https://dl.google.com/go/${GO_TARBALL}"

Expand Down
4 changes: 2 additions & 2 deletions contrib/gitian-descriptors/gitian-darwin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ remotes:
- "url": "https://github.com/cosmos/gaia.git"
"dir": "gaia"
files:
- "go1.13.7.linux-amd64.tar.gz"
- "go1.14.linux-amd64.tar.gz"
script: |
set -e -o pipefail
GO_SRC_RELEASE=go1.13.7.linux-amd64
GO_SRC_RELEASE=go1.14.linux-amd64
GO_SRC_TARBALL="${GO_SRC_RELEASE}.tar.gz"
# Compile go and configure the environment
export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
Expand Down
4 changes: 2 additions & 2 deletions contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ remotes:
- "url": "https://github.com/cosmos/gaia.git"
"dir": "gaia"
files:
- "go1.13.7.linux-amd64.tar.gz"
- "go1.14.linux-amd64.tar.gz"
script: |
set -e -o pipefail
GO_SRC_RELEASE=go1.13.7.linux-amd64
GO_SRC_RELEASE=go1.14.linux-amd64
GO_SRC_TARBALL="${GO_SRC_RELEASE}.tar.gz"
# Compile go and configure the environment
export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
Expand Down
4 changes: 2 additions & 2 deletions contrib/gitian-descriptors/gitian-multi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ remotes:
- "url": "https://github.com/cosmos/gaia.git"
"dir": "gaia"
files:
- "go1.13.7.linux-amd64.tar.gz"
- "go1.14.linux-amd64.tar.gz"
script: |
set -e -o pipefail
GO_SRC_RELEASE=go1.13.7.linux-amd64
GO_SRC_RELEASE=go1.14.linux-amd64
GO_SRC_TARBALL="${GO_SRC_RELEASE}.tar.gz"
# Compile go and configure the environment
export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
Expand Down
4 changes: 2 additions & 2 deletions contrib/gitian-descriptors/gitian-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ remotes:
- "url": "https://github.com/cosmos/gaia.git"
"dir": "gaia"
files:
- "go1.13.7.linux-amd64.tar.gz"
- "go1.14.linux-amd64.tar.gz"
script: |
set -e -o pipefail
GO_SRC_RELEASE=go1.13.7.linux-amd64
GO_SRC_RELEASE=go1.14.linux-amd64
GO_SRC_TARBALL="${GO_SRC_RELEASE}.tar.gz"
# Compile go and configure the environment
export TAR_OPTIONS="--mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME""
Expand Down
2 changes: 1 addition & 1 deletion docs/gaia-tutorials/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ source ~/.bash_profile
```

::: tip
**Go 1.13+** is required for the Cosmos SDK.
**Go 1.14+** is required for the Cosmos SDK.
:::

## Install the binaries
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
module github.com/cosmos/gaia

go 1.13
go 1.14

require (
github.com/btcsuite/btcd v0.0.0-20190807005414-4063feeff79a // indirect
github.com/cosmos/cosmos-sdk v0.34.4-0.20200306151630-1b51a043e20a
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/otiai10/copy v1.1.1
github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776 // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.1.0 // indirect
github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962 // indirect
Expand Down
8 changes: 2 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
bou.ke/monkey v1.0.1/go.mod h1:FgHuK96Rv2Nlf+0u1OOVDpCMdsWyOFmeeketDHE7LIg=
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
github.com/99designs/keyring v1.1.4 h1:x0g0zQ9bQKgNsLo0XSXAy1H8Q1RG/td+5OXJt+Ci8b8=
github.com/99designs/keyring v1.1.4/go.mod h1:657DQuMrBZRtuL/voxVyiyb6zpMehlm5vLB9Qwrv904=
Expand Down Expand Up @@ -191,17 +190,14 @@ github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo=
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/otiai10/copy v1.0.2 h1:DDNipYy6RkIkjMwy+AWzgKiNTyj2RUI9yEMeETEpVyc=
github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY=
github.com/otiai10/copy v1.1.1 h1:PH7IFlRQ6Fv9vYmuXbDRLdgTHoP1w483kPNUP2bskpo=
github.com/otiai10/copy v1.1.1/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776 h1:o59bHXu8Ejas8Kq6pjoVJQ9/neN66SM8AKh6wI42BBs=
github.com/otiai10/curr v0.0.0-20190513014714-f5a3d24e5776/go.mod h1:3HNVkVOU7vZeFXocWuvtcS0XSFLcf2XUSDHkq9t1jU4=
github.com/otiai10/curr v1.0.0 h1:TJIWdbX0B+kpNagQrjgq8bCMrbhiuX73M2XwgtDMoOI=
github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs=
github.com/otiai10/mint v1.2.4/go.mod h1:d+b7n/0R3tdyUYYylALXpWQ/kTN+QobSq/4SRGBkR3M=
github.com/otiai10/mint v1.3.0 h1:Ady6MKVezQwHBkGzLFbrsywyp09Ah7rkmfjV3Bcr5uc=
github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo=
github.com/otiai10/mint v1.3.1 h1:BCmzIS3n71sGfHB5NMNDB3lHYPz8fWSkCAErHed//qc=
github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.6.0 h1:aetoXYr0Tv7xRU/V4B4IZJ2QcbtMUFoNb3ORp7TzIK4=
Expand Down

0 comments on commit ec3c84a

Please sign in to comment.