Update substrate async api (#49)

* Update substrate: async API fix

* Fix to update polkadot and substrate

* Update substrate & polkadot to use cumulus-branch

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Cecile Tonglet
2020-02-01 16:28:33 +01:00
committed by GitHub
parent 4cde05739b
commit 75b03f2aa6
11 changed files with 1384 additions and 1377 deletions
+1 -2
View File
@@ -24,7 +24,7 @@ use sc_service::{AbstractService, Configuration};
use sp_consensus::{BlockImport, Environment, Proposer};
use sp_inherents::InherentDataProviders;
use futures::{compat::Future01CompatExt, future, task::Spawn, FutureExt, TryFutureExt};
use futures::{future, task::Spawn, FutureExt, TryFutureExt};
use log::error;
@@ -173,7 +173,6 @@ where
Box::new(
future::select(
self.service
.compat()
.map_err(|e| error!("Parachain service error: {:?}", e)),
future::select(follow, self.exit.into_exit()),
)