From fcd577e8172e9589db8b7a7f9bc6af3f53f9a879 Mon Sep 17 00:00:00 2001 From: Dan Forbes Date: Tue, 8 Sep 2020 13:00:22 -0700 Subject: [PATCH] Backport paritytech/substrate#7014 (#81) --- node/src/service.rs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/node/src/service.rs b/node/src/service.rs index 5984d67..8fa935c 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -27,7 +27,12 @@ pub fn new_partial(config: &Configuration) -> Result, sc_transaction_pool::FullPool, ( - sc_finality_grandpa::GrandpaBlockImport, + sc_consensus_aura::AuraBlockImport< + Block, + FullClient, + sc_finality_grandpa::GrandpaBlockImport, + AuraPair + >, sc_finality_grandpa::LinkHalf ) >, ServiceError> { @@ -56,7 +61,7 @@ pub fn new_partial(config: &Configuration) -> Result( sc_consensus_aura::slot_duration(&*client)?, - aura_block_import, + aura_block_import.clone(), Some(Box::new(grandpa_block_import.clone())), None, client.clone(), @@ -69,7 +74,7 @@ pub fn new_partial(config: &Configuration) -> Result