Skip to content

Commit

Permalink
feat(prover): upgrade zkevm-circuits version (#1424)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoylan2 authored Jul 11, 2024
1 parent 61a3af5 commit 3567f5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
20 changes: 10 additions & 10 deletions prover/Cargo.lock

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

6 changes: 2 additions & 4 deletions prover/src/zk_circuits_handler/darwin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ use crate::types::{CommonHash, Task};
use std::{cell::RefCell, cmp::Ordering, env, rc::Rc};

use prover_darwin::{
aggregator::{Prover as BatchProver, MAX_AGG_SNARKS},
check_chunk_hashes,
zkevm::Prover as ChunkProver,
aggregator::Prover as BatchProver, check_chunk_hashes, zkevm::Prover as ChunkProver,
BatchProof, BatchProvingTask, BlockTrace, BundleProof, BundleProvingTask, ChunkInfo,
ChunkProof, ChunkProvingTask,
};
Expand Down Expand Up @@ -107,7 +105,7 @@ impl DarwinHandler {
bail!("non-match chunk protocol")
}
check_chunk_hashes("", &chunk_hashes_proofs).context("failed to check chunk info")?;
let batch_proof = prover.borrow_mut().gen_batch_proof::<MAX_AGG_SNARKS>(
let batch_proof = prover.borrow_mut().gen_batch_proof(
batch_task_detail.batch_proving_task,
None,
self.get_output_dir(),
Expand Down

0 comments on commit 3567f5b

Please sign in to comment.