Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.6.8 #508

Merged
merged 12 commits into from
Sep 8, 2020
Merged
Prev Previous commit
Next Next commit
update: service
  • Loading branch information
aurexav committed Sep 2, 2020
commit a601b4c2db5853cc9044b8799c6be4c60dfdfd21
6 changes: 5 additions & 1 deletion node/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ use sc_service::{
};
use sc_transaction_pool::{BasicPool, FullPool};
use sp_api::ConstructRuntimeApi;
use sp_consensus::{import_queue::BasicQueue, CanAuthorWithNativeVersion, DefaultImportQueue};
use sp_consensus::{
import_queue::BasicQueue, CanAuthorWithNativeVersion, DefaultImportQueue, NeverCanAuthor,
};
use sp_core::traits::BareCryptoStorePtr;
use sp_inherents::InherentDataProviders;
use sp_runtime::traits::BlakeTwo256;
Expand Down Expand Up @@ -219,6 +221,7 @@ where
inherent_data_providers.clone(),
&task_manager.spawn_handle(),
config.prometheus_registry(),
CanAuthorWithNativeVersion::new(client.executor().clone()),
)?;
let justification_stream = grandpa_link.justification_stream();
let shared_authority_set = grandpa_link.shared_authority_set().clone();
Expand Down Expand Up @@ -493,6 +496,7 @@ where
inherent_data_providers.clone(),
&task_manager.spawn_handle(),
config.prometheus_registry(),
NeverCanAuthor,
)?;
let finality_proof_provider =
GrandpaFinalityProofProvider::new_for_service(backend.clone(), client.clone());
Expand Down