substrate
substrate copied to clipboard
[draft] Upgrade libp2p to 0.49.0
Resolves https://github.com/paritytech/substrate/issues/12267 and pulls in https://github.com/libp2p/rust-libp2p/pull/2846 to support fallback Kademlia protocol names (see https://github.com/paritytech/substrate/issues/7746).
The main change is that NetworkBehaviourEventProcess was deprecated, so the event processing previously taking place in Behaviour popped up to NetworkWorker.
Note: libp2p-0.49.0, needed by this PR due to https://github.com/libp2p/rust-libp2p/issues/2879, was not released yet, so the CI is failing and the PR has draft status.