Skip to content

Commit

Permalink
clippy and fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
darth-cy committed Sep 8, 2024
1 parent a799a60 commit bd2c57f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
12 changes: 3 additions & 9 deletions prover/src/zkevm/prover.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
use std::collections::BTreeMap;

use crate::{
common,
config::LayerId,
consts::CHUNK_VK_FILENAME,
io::try_to_read,
proof::compare_chunk_info,
types::ChunkProvingTask,
utils::chunk_trace_to_witness_block,
zkevm::circuit::calculate_row_usage_of_witness_block,
ChunkProof,
common, config::LayerId, consts::CHUNK_VK_FILENAME, io::try_to_read, proof::compare_chunk_info,
types::ChunkProvingTask, utils::chunk_trace_to_witness_block,
zkevm::circuit::calculate_row_usage_of_witness_block, ChunkProof,
};
use aggregator::ChunkInfo;
use anyhow::Result;
Expand Down
6 changes: 3 additions & 3 deletions prover/src/zkevm/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ use crate::{
common,
config::{LAYER2_CONFIG_PATH, LAYER2_DEGREE},
consts::chunk_vk_filename,
utils::gen_rng,
io::force_to_read,
utils::gen_rng,
ChunkProof,
};
use aggregator::extract_proof_and_instances_with_pairing_check;
use anyhow::anyhow;
use compression::CompressionCircuit;
use halo2_proofs::{
halo2curves::bn256::{Bn256, G1Affine},
plonk::VerifyingKey,
poly::kzg::commitment::ParamsKZG,
};
use std::{collections::BTreeMap, env};
use aggregator::extract_proof_and_instances_with_pairing_check;
use anyhow::{anyhow, Result};

#[derive(Debug)]
pub struct Verifier<'params> {
Expand Down

0 comments on commit bd2c57f

Please sign in to comment.