mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
Update to latest Substrate (7688cbc) (#329)
* Initial fixes * Clean up Timestamp * Patch futures * Typo * Fix compilation of tests * Fix parachains tests * Update runtime/src/parachains.rs Co-Authored-By: thiolliere <gui.thiolliere@gmail.com> * Update runtime/src/parachains.rs Co-Authored-By: Gavin Wood <github@gavwood.com>
This commit is contained in:
committed by
Gavin Wood
parent
1ded51d77b
commit
2c66adfb0a
@@ -50,6 +50,7 @@ use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
|
||||
use futures::{future, Stream, Future, IntoFuture};
|
||||
use futures03::{TryStreamExt as _, StreamExt as _};
|
||||
use log::{info, warn};
|
||||
use client::BlockchainEvents;
|
||||
use primitives::{ed25519, Pair};
|
||||
@@ -334,6 +335,7 @@ impl<P, E> Worker for CollationNode<P, E> where
|
||||
let parachain_context = build_parachain_context.build(validation_network.clone()).unwrap();
|
||||
let inner_exit = exit.clone();
|
||||
let work = client.import_notification_stream()
|
||||
.map(|v| Ok::<_, ()>(v)).compat()
|
||||
.for_each(move |notification| {
|
||||
macro_rules! try_fr {
|
||||
($e:expr) => {
|
||||
|
||||
Reference in New Issue
Block a user