We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a87ce3 commit f75fe92Copy full SHA for f75fe92
src/citrea_config/batch_prover.rs
@@ -39,6 +39,8 @@ pub struct BatchProverConfig {
39
pub proof_sampling_number: usize,
40
/// If true prover will try to recover ongoing proving sessions
41
pub enable_recovery: bool,
42
+ /// Wether to always use the latest ELF or not
43
+ pub use_latest_elf: bool,
44
}
45
46
impl Default for BatchProverConfig {
@@ -47,6 +49,7 @@ impl Default for BatchProverConfig {
47
49
proving_mode: ProverGuestRunConfig::Execute,
48
50
proof_sampling_number: 0,
51
enable_recovery: true,
52
+ use_latest_elf: true,
53
54
55
@@ -97,6 +100,7 @@ mod tests {
97
100
proving_mode: ProverGuestRunConfig::Skip,
98
101
proof_sampling_number: 500,
99
102
103
104
};
105
assert_eq!(config, expected);
106
0 commit comments