keep-network / keep-core

The smart contracts and reference client behind the Keep network
https://keep.network
MIT License
119 stars 74 forks source link

Upgrade Go and libp2p versions #3771

Closed lukasz-zimnoch closed 8 months ago

lukasz-zimnoch commented 8 months ago

Refs: https://github.com/keep-network/keep-core/issues/3770 Closes: https://github.com/keep-network/keep-core/issues/3761

Here we upgrade all libp2p libraries to the recent versions. To make it possible, we were also forced to bump the Go version from 1.18 to 1.20. This is the minimum version supported by recent libp2p packages.

I recommend reviewing commit by commit where specific changes are described in detail. Here is a brief summary of what has been done:

Upgrade Go from 1.18 to 1.20

Upgrade of Go resulted in a need to:

Upgrade of libp2p libraries

Upgrade of libp2p packages forced us to: