Update Substrate (#514)

* Update Substrate

* Attempt a fix

* Update substrate again

* Fix compilation

* update substrate add support for sentry

* Fixes tests
This commit is contained in:
Gavin Wood
2019-10-29 22:00:12 +01:00
committed by GitHub
parent 16e0e4afd1
commit 0168e2f0fe
6 changed files with 182 additions and 184 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ pub use service::{
};
pub use cli::{VersionInfo, IntoExit, NoCustom};
pub use cli::error;
pub use cli::{display_role, error};
/// Abstraction over an executor that lets you spawn tasks in the background.
pub type TaskExecutor = Arc<dyn futures::future::Executor<Box<dyn Future<Item = (), Error = ()> + Send>> + Send + Sync>;
@@ -98,7 +98,7 @@ pub fn run<W>(worker: W, version: cli::VersionInfo) -> error::Result<()> where
info!(" by {}, 2017-2019", version.author);
info!("Chain specification: {}", config.chain_spec.name());
info!("Node name: {}", config.name);
info!("Roles: {:?}", config.roles);
info!("Roles: {}", display_role(&config));
config.custom = worker.configuration();
let runtime = Runtime::new().map_err(|e| format!("{:?}", e))?;
match config.roles {