-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump go v1.20 (also go-libp2p v0.25.1 and kubo v0.19.0-rc1)
Needed bumps: * ci: bump staticcheck 2023.1.2 (supports go v1.20) * go get github.com/libp2p/go-libp2p@v0.25.1 * go get github.com/ipfs/kubo@v0.19.0-rc1 * go mod tidy Import path changes: * github.com/libp2p/go-libp2p-core -> github.com/libp2p/go-libp2p/core * github.com/libp2p/go-libp2p-connmgr -> github.com/libp2p/go-libp2p/p2p/net/connmgr * github.com/ipfs/go-ipfs-files -> github.com/ipfs/go-libipfs/files Code changes: * ipfs: config.NewOptionalInteger() and config.NewOptionalDuration() * ipfsconnect/subpub: connmanager.WithGracePeriod(time.Second*10)) * ipfsconnect/subpub: c.Apply(libp2p.Defaults) * ipfsconnect/subpub: disable TestSubPub until fixed * util/net_test: fix go vet warning * api/autoswag: fix gofmt issue * all: rand.Seed() no longer needed in go v1.20 according to https://tip.golang.org/doc/go1.20#math/rand The math/rand package now automatically seeds the global random number generator with a random value, and the top-level Seed function has been deprecated * benchmark/vochain: fix 'this value of processID is never used' * rpcclient/util: use crypto/rand.Int instead of deprecated math/rand.Intn
- Loading branch information
Showing
23 changed files
with
337 additions
and
721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# syntax=docker/dockerfile:experimental | ||
|
||
FROM golang:1.19.5 AS builder | ||
FROM golang:1.20 AS builder | ||
|
||
ARG BUILDARGS | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.