Service various cleanups (#3238)

* Remove generic from sign()

* Remove mandatory RuntimeGenesis trait req

* Remove requirement from Configuration

* Relax trait bounds of core/cli

* Move method

* The config field is no longer public

* Remove Components from bounds of functions

* Implement DerefMut for LightComponents

* Implement Executor for Full/LightComponents

* Fix bad merge

* Fix forgotten config()

* Fix build
This commit is contained in:
Pierre Krieger
2019-08-08 16:14:30 +02:00
committed by Gavin Wood
parent fe18b4055d
commit bafc7202ca
8 changed files with 133 additions and 88 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ construct_service_factory! {
client,
proposer,
service.network(),
service.config.custom.inherent_data_providers.clone(),
service.config.force_authoring,
service.config().custom.inherent_data_providers.clone(),
service.config().force_authoring,
)?;
service.spawn_task(Box::new(aura.select(service.on_exit()).then(|_| Ok(()))));
}