Update libp2p to support go 1.19 (#11309)

* Update libp2p to support go 1.19

* gaz

* go mod tidy

* Only update the minimum deps

* go mod tidy

* revert .bazelrc

* Update go-libp2p to v0.22.0 and update import paths (#11440)

* Fix import paths

* Fix go-libp2p-peerstore import

* Bazel updates

* fix

* revert some comments changes

* revert some comment stuff

* fix dependency issues

* vendor problematic library

* use your brain

* remove

* tests

Co-authored-by: Marco Munizaga <marco@marcopolo.io>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
This commit is contained in:
Preston Van Loon
2022-10-07 02:24:51 -05:00
committed by GitHub
parent de8e50d8b6
commit 6bea17cb54
126 changed files with 599 additions and 1173 deletions

View File

@@ -9,8 +9,8 @@ import (
"time"
"github.com/kevinms/leakybucket-go"
libp2pcore "github.com/libp2p/go-libp2p-core"
"github.com/libp2p/go-libp2p-core/network"
libp2pcore "github.com/libp2p/go-libp2p/core"
"github.com/libp2p/go-libp2p/core/network"
mock "github.com/prysmaticlabs/prysm/v3/beacon-chain/blockchain/testing"
dbtest "github.com/prysmaticlabs/prysm/v3/beacon-chain/db/testing"
p2pm "github.com/prysmaticlabs/prysm/v3/beacon-chain/p2p"