mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 02:11:07 +00:00
Apply breaking changes of new libp2p versions (#3877)
* Apply breaking changes of new libp2p versions * Oops, forgot to update version * Fix tests * Fix imports with WASM * Fix WASM for real * Update core/network/src/debug_info.rs Co-Authored-By: Roman Borschel <romanb@users.noreply.github.com> * Fix compilation
This commit is contained in:
committed by
Bastian Köcher
parent
1aaf31a34d
commit
cc09bfbd09
@@ -11,7 +11,7 @@ parking_lot = "0.9.0"
|
||||
futures01 = { package = "futures", version = "0.1" }
|
||||
futures-preview = { version = "0.3.0-alpha.19", features = ["compat"] }
|
||||
futures-timer = "0.4.0"
|
||||
libp2p = { version = "0.12.0", default-features = false, features = ["libp2p-websocket"] }
|
||||
libp2p = { version = "0.13.0", default-features = false, features = ["libp2p-websocket"] }
|
||||
log = "0.4.8"
|
||||
rand = "0.7.2"
|
||||
serde = { version = "1.0.101", features = ["derive"] }
|
||||
|
||||
@@ -109,7 +109,7 @@ impl TelemetryWorker {
|
||||
|
||||
let transport = transport
|
||||
.map((|inner, _| Compat01As03Sink::new(inner)) as fn(_, _) -> _)
|
||||
.with_timeout(CONNECT_TIMEOUT);
|
||||
.timeout(CONNECT_TIMEOUT);
|
||||
|
||||
TelemetryWorker {
|
||||
nodes: endpoints.into_iter().map(|(addr, verbosity)| {
|
||||
|
||||
Reference in New Issue
Block a user