Skip to content

Commit

Permalink
Set default initial da height
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Dec 16, 2024
1 parent 936456a commit f4fb2c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/citrea_config/light_client_prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -19,6 +21,7 @@ impl Default for LightClientProverConfig {
proving_mode: ProverGuestRunConfig::Execute,
proof_sampling_number: 0,
enable_recovery: true,
initial_da_height: 1,
}
}
}
Expand Down

0 comments on commit f4fb2c6

Please sign in to comment.