Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit 3837e4c

Browse files
committed
[chore] fix clippy
1 parent ed15b75 commit 3837e4c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

aggregator/src/proof_aggregation/config.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ pub struct AggregationConfig {
3030
/// - accumulator from aggregation (12 elements)
3131
/// - aggregated public inputs (132 elements):
3232
/// chain_id ||
33-
/// chunk[0].prev_state_root ||
34-
/// chunk[k-1].post_state_root ||
35-
/// chunk[k-1].withdraw_root ||
33+
/// chunk\[0\].prev_state_root ||
34+
/// chunk\[k-1\].post_state_root ||
35+
/// chunk\[k-1\].withdraw_root ||
3636
/// batch_data_hash
3737
pub instance: Column<Instance>,
3838
}

aggregator/src/tests/proof_compression.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,15 @@ fn test_two_layer_proof_compression() {
240240
evm_verify(
241241
deployment_code,
242242
compression_circuit.instances(),
243-
layer_1_proof.clone(),
243+
layer_1_proof,
244244
);
245245
log::trace!("layer 1 evm verification finished");
246246

247247
// build the snark for next layer
248248
let layer_1_snark = gen_snark_shplonk(
249249
&layer_1_params,
250250
&layer_1_pk,
251-
compression_circuit.clone(),
251+
compression_circuit,
252252
&mut rng,
253253
Some(&path.join(Path::new("layer_1.snark"))),
254254
);
@@ -309,7 +309,7 @@ fn test_two_layer_proof_compression() {
309309
evm_verify(
310310
deployment_code,
311311
compression_circuit.instances(),
312-
layer_2_proof.clone(),
312+
layer_2_proof,
313313
);
314314
log::trace!("layer 2 evm verification finished");
315315
}

0 commit comments

Comments
 (0)