runtime: remove finality-tracker (#1762)

* runtime: remove finality-tracker

* runtime: bump spec_version

* update substrate
This commit is contained in:
André Silva
2020-10-15 22:26:37 +01:00
committed by GitHub
parent 979b9c5556
commit 3687c5df11
9 changed files with 140 additions and 224 deletions
+1 -6
View File
@@ -516,7 +516,6 @@ pub fn new_full<RuntimeApi, Executor>(
config,
link: link_half,
network: network.clone(),
inherent_data_providers: inherent_data_providers.clone(),
telemetry_on_connect: Some(telemetry_connection_sinks.on_connect_stream()),
voting_rule,
prometheus_registry: prometheus_registry.clone(),
@@ -528,11 +527,7 @@ pub fn new_full<RuntimeApi, Executor>(
grandpa::run_grandpa_voter(grandpa_config)?
);
} else {
grandpa::setup_disabled_grandpa(
client.clone(),
&inherent_data_providers,
network.clone(),
)?;
grandpa::setup_disabled_grandpa(network.clone())?;
}
if matches!(role, Role::Authority{..} | Role::Sentry{..}) {