-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
17309e9
to
8770e13
Compare
8770e13
to
f521361
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 👍 what's blocking you from finishing this?
This upgrade also removes an unmaintained dependency from being pulled in (a few levels down) so I would love to see this landed. |
@melekes There is a blocking bug in libp2p-0.48 with |
Once we've done this PR, we should do another PR to bump kvdb-rocksdb to 0.16 (like https://github.com/paritytech/substrate/pull/11144/files ) as the current version is also dependent on the unmaintained crate. That second PR should reduce the pulling in of multiple crate versions that this PR will create. (feel free to ping me to do it if you don't want to, just want to make sure it gets done.) |
+1 |
Pulled the changes from master in, but still blocked by libp2p-0.49.0 release... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Aaro Altonen <[email protected]>
bot merge |
* cargo upgrade libp2p * Get rid of `NetworkBehaviourEventProcess` in handling of `CustomMessageOutcome` * Get rid of `NetworkBehaviourEventProcess` in handling of `request_responses::Event` * Get rid of `NetworkBehaviourEventProcess` in handling of `peer_info::PeerInfoEvent` * Get rid of `NetworkBehaviourEventProcess` in handling of `DiscoveryOut` * Get rid of `poll()` method in `Bahaviour` * minor: comments * Upgrade libp2p to 0.49.0 (unreleased) * Support multiple Kad protocol names * Make borrow checker happy * minor: wording * Make substrate build with libp2p-0.49.0 * rustfmt * Get rid of MdnsWrapper * Resolve deprecation warnings * Fix documentation * Apply suggestions from code review: fix typos Co-authored-by: Aaro Altonen <[email protected]> * Apply suggestion: simplify kad protocol name matching Co-authored-by: Aaro Altonen <[email protected]>
Resolves #12267 and pulls in libp2p/rust-libp2p#2846 to support fallback Kademlia protocol names (see #7746).
The main change is that
NetworkBehaviourEventProcess
was deprecated, so the event processing previously taking place inBehaviour
popped up toNetworkWorker
.Follow-Up Issue
Transports and protocols currently used rely on
async-std
primitives, what can cause issues under thetokio
runtime. They should be upgraded to usetokio
implementations: #12499.