* Remove usage of sc_network::Context trait
* Remove Context::send_consensus
* Pass &mut dyn Network instead of &dyn Network
* Move Validator traits and related to separate module
* Entirely update substrate-telemetry to futures 0.3
* Add a Closed error
* Update to libp2p 0.14
* More work
* More work
* More work
* More work
* Fix warnings
* Remove unwrap()
* Work on tests fixing
* Fix network tests
* Fix external network tests
* Update libp2p and restore Yamux in discovery test
* Ignore DNS if initializatio nfails
* Restore variables ordering
* Forgot browser-utils
* Fix downfall after merge
* Fix tests
* service/src/lib.rs: Register network event stream for authority disc
Previously one would create a sender and receiver channel pair, pass the
sender to the build_network_future through the service builder and
funnel network events returned from polling the network service into the
sender to be consumed by the authority discovery module owning the
receiver.
With recent changes it is now possible to register an event_stream
with the network service directly, thus one does not need to make the
detour through the build_network_future.
This commit is an adjusted clone of one targeting the Substrate
repository.
* service/src/lib.rs: Fix futures::stream imports
* [TMP] *: Replace polkadot-upstream with feature branch
* Switch branch
* Small change
* Companion PR to substrate#4542
* Revert "Merge remote-tracking branch 'tomaka/companion-4542' into ashley-browser-utils"
This reverts commit 17f00afe483ee65cb3cf4a0faca27034e6d6523a, reversing
changes made to 928cbb9c55542baff56b53accd9a5a45f12f01f1.
* ashley-browser-utils -> ashley-browser-utils-polkadot
* Switch branches back
Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
* Make use of `runtime_interface` for parachain externalities
This also changes the encoding of the `ValidationResult` return value to
match the default encoding used in Substrate.
* Fix compilation for web
* Update `Cargo.lock`
* Include feedback
* Move proc macro
* Update parachain/src/lib.rs
Co-Authored-By: Robert Habermeier <rphmeier@gmail.com>
Co-authored-by: Robert Habermeier <rphmeier@gmail.com>
* service/src/lib.rs: Register network event stream for authority disc
Previously one would create a sender and receiver channel pair, pass the
sender to the build_network_future through the service builder and
funnel network events returned from polling the network service into the
sender to be consumed by the authority discovery module owning the
receiver.
With recent changes it is now possible to register an event_stream
with the network service directly, thus one does not need to make the
detour through the build_network_future.
This commit is an adjusted clone of one targeting the Substrate
repository.
* service/src/lib.rs: Fix futures::stream imports
* [TMP] *: Replace polkadot-upstream with feature branch
* Revert "[TMP] *: Replace polkadot-upstream with feature branch"
This reverts commit 0c947b04ab80488bfca16c5aeac9657b77a93a44.