You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Transports and protocols in libp2p currently have different implementations for tokio and async-std runtimes (see libp2p/rust-libp2p#2962). Due to historical reasons, transports and protocols used in substrate rely on async-std primitives, which can cause issues under tokio runtime like this one: libp2p/rust-libp2p#2748. They should be upgraded to use tokio implementations.
This requires changing primitives used (i.e., replacing TcpTransport with TokioTcpTransport) and upgrading tokio version to the one compatible with libp2p.
Description
Transports and protocols in libp2p currently have different implementations for
tokio
andasync-std
runtimes (see libp2p/rust-libp2p#2962). Due to historical reasons, transports and protocols used in substrate rely onasync-std
primitives, which can cause issues undertokio
runtime like this one: libp2p/rust-libp2p#2748. They should be upgraded to usetokio
implementations.This requires changing primitives used (i.e., replacing
TcpTransport
withTokioTcpTransport
) and upgradingtokio
version to the one compatible with libp2p.This is a follow-up issue to #12256.
Checklist
tokio
to the latest version.async-std
libp2p
primitives used by theirtokio
variants.The text was updated successfully, but these errors were encountered: