From 44b166d4513745c563d7cc6dfeac589df7993f85 Mon Sep 17 00:00:00 2001 From: arkpar Date: Mon, 3 Apr 2023 13:36:14 +0200 Subject: [PATCH] Build with statement-store --- client/service/src/lib.rs | 1 + parachain-template/node/src/service.rs | 2 ++ polkadot-parachain/src/service.rs | 4 ++++ test/service/src/lib.rs | 2 ++ 4 files changed, 9 insertions(+) diff --git a/client/service/src/lib.rs b/client/service/src/lib.rs index 6f0d5790586..885bb09ff99 100644 --- a/client/service/src/lib.rs +++ b/client/service/src/lib.rs @@ -360,6 +360,7 @@ where config: parachain_config, client, transaction_pool, + statement_store: None, spawn_handle, import_queue, block_announce_validator_builder: Some(Box::new(block_announce_validator_builder)), diff --git a/parachain-template/node/src/service.rs b/parachain-template/node/src/service.rs index 86d85f18faa..b3e9a3f7cdb 100644 --- a/parachain-template/node/src/service.rs +++ b/parachain-template/node/src/service.rs @@ -128,6 +128,7 @@ pub fn new_partial( keystore_container, task_manager, transaction_pool, + statement_store: None, select_chain: (), other: (block_import, telemetry, telemetry_worker_handle), }) @@ -210,6 +211,7 @@ async fn start_node_impl( rpc_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), + statement_store: None, task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), diff --git a/polkadot-parachain/src/service.rs b/polkadot-parachain/src/service.rs index ee5ae0572a8..8bfd3e9d129 100644 --- a/polkadot-parachain/src/service.rs +++ b/polkadot-parachain/src/service.rs @@ -305,6 +305,7 @@ where keystore_container, task_manager, transaction_pool, + statement_store: None, select_chain: (), other: (block_import, telemetry, telemetry_worker_handle), }; @@ -409,6 +410,7 @@ where rpc_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), + statement_store: None, task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), @@ -609,6 +611,7 @@ where rpc_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), + statement_store: None, task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), @@ -1379,6 +1382,7 @@ where rpc_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), + statement_store: None, task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(), diff --git a/test/service/src/lib.rs b/test/service/src/lib.rs index e34237d1017..391360eeecc 100644 --- a/test/service/src/lib.rs +++ b/test/service/src/lib.rs @@ -222,6 +222,7 @@ pub fn new_partial( keystore_container, task_manager, transaction_pool, + statement_store: None, select_chain: (), other: block_import, }; @@ -337,6 +338,7 @@ where rpc_builder, client: client.clone(), transaction_pool: transaction_pool.clone(), + statement_store: None, task_manager: &mut task_manager, config: parachain_config, keystore: params.keystore_container.keystore(),