From 81917e5902483437770c26c0fd91dcec52c35c62 Mon Sep 17 00:00:00 2001 From: Roznovjak Date: Tue, 3 Sep 2024 13:57:26 +0200 Subject: [PATCH] enable proof recording during block import --- node/src/service.rs | 3 ++- runtime/basilisk/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/node/src/service.rs b/node/src/service.rs index fb9ec93512..e82871544f 100644 --- a/node/src/service.rs +++ b/node/src/service.rs @@ -107,10 +107,11 @@ pub fn new_partial( .with_runtime_cache_size(config.runtime_cache_size) .build(); - let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts::( + let (client, backend, keystore_container, task_manager) = sc_service::new_full_parts_record_import::( config, telemetry.as_ref().map(|(_, telemetry)| telemetry.handle()), executor, + true, )?; let client = Arc::new(client); diff --git a/runtime/basilisk/src/lib.rs b/runtime/basilisk/src/lib.rs index 0ec538720b..b46db63aa1 100644 --- a/runtime/basilisk/src/lib.rs +++ b/runtime/basilisk/src/lib.rs @@ -65,7 +65,7 @@ use sp_version::NativeVersion; use sp_version::RuntimeVersion; // A few exports that help ease life for downstream crates. -use frame_support::{construct_runtime, parameter_types, weights::Weight}; +use frame_support::{construct_runtime, weights::Weight}; /// Opaque types. These are used by the CLI to instantiate machinery that don't need to know /// the specifics of the runtime. They can then be made to be agnostic over specific formats