From f4fb2c64605eec43c3778d40aeddb2c6afb0480f Mon Sep 17 00:00:00 2001 From: Rakan Alhneiti Date: Mon, 16 Dec 2024 14:16:00 +0300 Subject: [PATCH] Set default initial da height --- src/citrea_config/light_client_prover.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/citrea_config/light_client_prover.rs b/src/citrea_config/light_client_prover.rs index f4c225f..2f27b61 100644 --- a/src/citrea_config/light_client_prover.rs +++ b/src/citrea_config/light_client_prover.rs @@ -11,6 +11,8 @@ pub struct LightClientProverConfig { pub proof_sampling_number: usize, /// If true prover will try to recover ongoing proving sessions pub enable_recovery: bool, + /// The starting DA block to sync from + pub initial_da_height: u64, } impl Default for LightClientProverConfig { @@ -19,6 +21,7 @@ impl Default for LightClientProverConfig { proving_mode: ProverGuestRunConfig::Execute, proof_sampling_number: 0, enable_recovery: true, + initial_da_height: 1, } } }