Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed Sep 10, 2024
1 parent b84846c commit 8d07d3b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
24 changes: 12 additions & 12 deletions 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 integration/tests/e2e_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,7 @@ fn gen_batch_proving_task(
log::info!("Constructed zkevm prover");
let chunk_proofs: Vec<_> = chunks
.into_iter()
.enumerate()
.map(|(_, block_traces)| {
.map(|block_traces| {
zkevm_prover
.gen_chunk_proof(
ChunkProvingTask::from(block_traces),
Expand Down Expand Up @@ -261,8 +260,7 @@ fn log_batch_pi(trace_paths: &[String]) {

let mut chunk_hashes: Vec<ChunkInfo> = chunk_traces
.into_iter()
.enumerate()
.map(|(_i, chunk_trace)| {
.map(|chunk_trace| {
let witness_block = chunk_trace_to_witness_block(chunk_trace.clone()).unwrap();
ChunkInfo::from_witness_block(&witness_block, false)
})
Expand Down

0 comments on commit 8d07d3b

Please sign in to comment.