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:
Pierre Krieger
2019-11-06 14:00:12 +01:00
committed by Bastian Köcher
parent 1aaf31a34d
commit cc09bfbd09
12 changed files with 225 additions and 340 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ transaction-factory = { path = "../../test-utils/transaction-factory", optional
ctrlc = { version = "3.1.3", features = ["termination"], optional = true }
# WASM-specific dependencies
libp2p = { version = "0.12.0", default-features = false, optional = true }
libp2p = { version = "0.13.0", default-features = false, optional = true }
clear_on_drop = { version = "0.2.3", features = ["no_cc"], optional = true } # Imported just for the `no_cc` feature
console_error_panic_hook = { version = "0.1.1", optional = true }
console_log = { version = "0.1.2", optional = true }