Skip to content

Commit

Permalink
tracking relations
Browse files Browse the repository at this point in the history
  • Loading branch information
ohad-starkware committed Dec 5, 2024
1 parent 63b2358 commit 60dfca9
Show file tree
Hide file tree
Showing 6 changed files with 633 additions and 32 deletions.
2 changes: 1 addition & 1 deletion stwo_cairo_prover/Cargo.lock

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

2 changes: 1 addition & 1 deletion stwo_cairo_prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ serde = "1.0.207"
serde_json = "1.0.1"
sonic-rs = "0.3.10"
# TODO(ShaharS): take stwo version from the source repository.
stwo-prover = { git = "https://github.com/starkware-libs/stwo", rev = "6e7d2aa6", features = [
stwo-prover = { git = "https://github.com/starkware-libs/stwo", rev = "76af3c6", features = [
"parallel",
] }
thiserror = "1.0.63"
Expand Down
4 changes: 3 additions & 1 deletion stwo_cairo_prover/crates/adapted_prover/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ struct Args {
priv_json: PathBuf,
#[structopt(long = "proof_path")]
proof_path: PathBuf,
#[structopt(long = "debug_lookup")]
debug_lookup: bool,
}

#[derive(Debug, Error)]
Expand Down Expand Up @@ -67,7 +69,7 @@ fn run(args: impl Iterator<Item = String>) -> Result<CairoProof<Blake2sMerkleHas
let casm_states_by_opcode_count = &vm_output.state_transitions.casm_states_by_opcode.counts();
log::info!("Casm states by opcode count: {casm_states_by_opcode_count:?}");

let proof = prove_cairo(vm_output)?;
let proof = prove_cairo(vm_output, args.debug_lookup)?;

// TODO(yuval): This is just some serialization for the sake of serialization. Find the right
// way to serialize the proof.
Expand Down
Loading

0 comments on commit 60dfca9

Please sign in to comment.