diff --git a/DEVELOP.md b/DEVELOP.md index 3487c5f3c..5677d80f2 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -4,7 +4,7 @@ The following dependencies are required for local development: -- [Go](https://golang.org/dl/) >= 1.15.3 +- [Go](https://golang.org/dl/) >= 1.15.5 - [Docker](https://docs.docker.com/engine/install/) / moby-engine >= 19.03 - [Tilt](http://tilt.dev/) >= 0.17.2 - Any of the local Kubernetes clusters supported by Tilt. diff --git a/Tiltfile b/Tiltfile index 43ad84a43..202841bfa 100644 --- a/Tiltfile +++ b/Tiltfile @@ -17,7 +17,7 @@ # +-> third_party/solana/Dockerfile <--------------+ | | # + | | +-----------------+ # +--> solana-devnet +-------|-----> | solana-devnet | -# golang:1.15.3 +-----> | [setup] | +# golang:1.* +-----> | [setup] | # + | +-----------------+ # +-> bridge/Dockerfile +-> guardiand-image +---------+ # diff --git a/bridge/Dockerfile b/bridge/Dockerfile index 90f7eed44..15ca3450e 100644 --- a/bridge/Dockerfile +++ b/bridge/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:experimental -FROM golang:1.15.3 +FROM golang:1.15.5 WORKDIR /app diff --git a/dev-install.sh b/dev-install.sh index ab1aad4e8..98d7cebf1 100755 --- a/dev-install.sh +++ b/dev-install.sh @@ -43,7 +43,7 @@ export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/bin # Install Go binaries. ARCH=amd64 -GO=1.15.3 +GO=1.15.5 # TODO(leo): verify checksum ( diff --git a/docs/operations.md b/docs/operations.md index 0cfbabaf3..6b2672ca8 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -49,9 +49,12 @@ Wormhole binaries from source. A Git repo is much harder to tamper with than rel To build Wormhole, you need: -- [Go](https://golang.org/dl/) >= 1.15.3 +- [Go](https://golang.org/dl/) >= 1.15.5 - [Rust](https://www.rust-lang.org/learn/get-started) >= 1.47.0 +It is very important to use a sufficiently recent Go version that includes a fix for +[CVE-2020-28362](https://blog.ethereum.org/2020/11/12/geth_security_release/). + If your Linux distribution has recent enough packages for these, it's preferable to use those and avoid the extra third-party build dependency. @@ -88,7 +91,7 @@ existing build pipeline. If you need Dockerfile examples, you can take a look at To generate a guardian key, you only need to only build the Go bridge. -It requires [Go](https://golang.org/dl/) >= 1.15.3. Clone the Wormhole repo +It requires [Go](https://golang.org/dl/) >= 1.15.5. Clone the Wormhole repo and build the binary: git clone https://github.com/certusone/wormhole