Skip to content

Commit

Permalink
Update all Go dependencies to latest
Browse files Browse the repository at this point in the history
...except for libp2p, which broke compatibility
between go-libp2p and go-libp2p-core:

libp2p/go-libp2p-core#168

I explicitly updated all transitive dependencies using
go get -u ./..., so the top-level go.mod file grew to include those.
  • Loading branch information
Leo committed Oct 16, 2020
1 parent 6ba9462 commit 7e366b5
Show file tree
Hide file tree
Showing 13 changed files with 500 additions and 214 deletions.
2 changes: 1 addition & 1 deletion bridge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:experimental
FROM golang:1.14
FROM golang:1.15.3

WORKDIR /app

Expand Down
64 changes: 42 additions & 22 deletions bridge/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,54 @@ module github.com/certusone/wormhole/bridge
go 1.14

require (
github.com/cenkalti/backoff/v4 v4.0.2
github.com/cespare/cp v1.1.1 // indirect
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
github.com/aristanetworks/goarista v0.0.0-20201012165903-2cb20defcd66 // indirect
github.com/btcsuite/btcd v0.21.0-beta // indirect
github.com/cenkalti/backoff/v4 v4.1.0
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
github.com/deckarep/golang-set v1.7.1 // indirect
github.com/ethereum/go-ethereum v1.9.18
github.com/go-kit/kit v0.9.0 // indirect
github.com/golang/mock v1.4.3 // indirect
github.com/golang/protobuf v1.4.2
github.com/ethereum/go-ethereum v1.9.23
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/golang/protobuf v1.4.3
github.com/golang/snappy v0.0.2 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/ipfs/go-log/v2 v2.1.1
github.com/libp2p/go-libp2p v0.10.2
github.com/karalabe/usb v0.0.0-20191104083709-911d15fe12a9 // indirect
github.com/koron/go-ssdp v0.0.2 // indirect
github.com/libp2p/go-libp2p v0.11.0
github.com/libp2p/go-libp2p-asn-util v0.0.0-20200918175930-dfb290b30798 // indirect
github.com/libp2p/go-libp2p-connmgr v0.2.4
github.com/libp2p/go-libp2p-core v0.6.1
github.com/libp2p/go-libp2p-kad-dht v0.8.3
github.com/libp2p/go-libp2p-pubsub v0.3.5
github.com/libp2p/go-libp2p-quic-transport v0.7.1
github.com/libp2p/go-libp2p-kad-dht v0.10.0
github.com/libp2p/go-libp2p-noise v0.1.2 // indirect
github.com/libp2p/go-libp2p-pubsub v0.3.6
github.com/libp2p/go-libp2p-quic-transport v0.8.2
github.com/libp2p/go-libp2p-tls v0.1.3
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/libp2p/go-libp2p-yamux v0.3.0 // indirect
github.com/libp2p/go-mplex v0.2.0 // indirect
github.com/libp2p/go-netroute v0.1.4 // indirect
github.com/libp2p/go-sockaddr v0.1.0 // indirect
github.com/libp2p/go-yamux v1.4.0 // indirect
github.com/marten-seemann/qtls-go1-15 v0.1.1 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/miguelmota/go-ethereum-hdwallet v0.0.0-20200123000308-a60dcd172b4c
github.com/multiformats/go-multiaddr v0.2.2
github.com/multiformats/go-multiaddr v0.3.1
github.com/olekukonko/tablewriter v0.0.4 // indirect
github.com/onsi/gomega v1.10.1 // indirect
github.com/prometheus/tsdb v0.7.1 // indirect
github.com/pborman/uuid v1.2.1 // indirect
github.com/peterh/liner v1.2.0 // indirect
github.com/prometheus/tsdb v0.10.0 // indirect
github.com/shirou/gopsutil v2.20.9+incompatible // indirect
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969 // indirect
github.com/stretchr/testify v1.6.1
go.uber.org/zap v1.15.0
golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1 // indirect
golang.org/x/text v0.3.3 // indirect
golang.org/x/tools v0.0.0-20200414032229-332987a829c3 // indirect
google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a // indirect
google.golang.org/grpc v1.31.0
google.golang.org/protobuf v1.23.0
github.com/tyler-smith/go-bip39 v1.0.2 // indirect
go.opencensus.io v0.22.5 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.16.0
golang.org/x/crypto v0.0.0-20201012173705-84dcc777aaee // indirect
golang.org/x/net v0.0.0-20201016165138-7b1cca2348c0 // indirect
golang.org/x/sys v0.0.0-20201016160150-f659759dc4ca // indirect
google.golang.org/genproto v0.0.0-20201015140912-32ed001d685c // indirect
google.golang.org/grpc v1.33.0
google.golang.org/protobuf v1.25.0
)
308 changes: 234 additions & 74 deletions bridge/go.sum

Large diffs are not rendered by default.

166 changes: 103 additions & 63 deletions bridge/pkg/ethereum/abi/abi.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
GO=1.15.3
# TODO(leo): verify checksum

(
Expand Down
4 changes: 1 addition & 3 deletions generate-protos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

(
cd tools/
go build -o bin/protoc-gen-go google.golang.org/protobuf/cmd/protoc-gen-go
go build -o bin/protoc-gen-go-grpc google.golang.org/grpc/cmd/protoc-gen-go-grpc
go build -o bin/buf github.com/bufbuild/buf/cmd/buf
./build.sh
)

tools/bin/buf protoc \
Expand Down
2 changes: 1 addition & 1 deletion third_party/abigen/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.14.7-alpine
FROM golang:1.15.3-alpine

RUN apk add curl git gcc libc-dev linux-headers

Expand Down
2 changes: 1 addition & 1 deletion third_party/abigen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/certusone/wormhole/third_party/abigen

go 1.15

require github.com/ethereum/go-ethereum v1.9.19
require github.com/ethereum/go-ethereum v1.9.23
Loading

0 comments on commit 7e366b5

Please sign in to comment.