Skip to content

Commit

Permalink
fix: abort signal
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Nov 1, 2024
1 parent 9ba0fa0 commit 7a26c43
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 6 additions & 5 deletions zero/src/prover_state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,16 @@ impl ProverStateManager {
input,
segment_data,
&mut TimingTree::default(),
abort_signal,
abort_signal.clone(),
)?;

let table_circuits = self.load_table_circuits(&config, &all_proof)?;

let proof_with_pvs =
p_state()
.state
.prove_segment_after_initial_stark(all_proof, &table_circuits, None)?;
let proof_with_pvs = p_state().state.prove_segment_after_initial_stark(
all_proof,
&table_circuits,
abort_signal,
)?;

Ok(proof_with_pvs)
}
Expand Down

0 comments on commit 7a26c43

Please sign in to comment.