From 484bc97667270be6598837d8080b6e8e9e0f56f1 Mon Sep 17 00:00:00 2001 From: Vladislav Volosnikov Date: Mon, 30 Sep 2024 18:30:28 +0200 Subject: [PATCH] Cargo fmt --- .../memory_related/ram_permutation.rs | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/crates/zkevm_test_harness/src/witness/individual_circuits/memory_related/ram_permutation.rs b/crates/zkevm_test_harness/src/witness/individual_circuits/memory_related/ram_permutation.rs index 8483532..aa2c38d 100644 --- a/crates/zkevm_test_harness/src/witness/individual_circuits/memory_related/ram_permutation.rs +++ b/crates/zkevm_test_harness/src/witness/individual_circuits/memory_related/ram_permutation.rs @@ -124,9 +124,14 @@ pub(crate) fn compute_ram_circuit_snapshots = all_memory_queries.par_iter().map(|x| x.encoding_witness()).collect(); - let rhs_contributions: Vec<_> = all_memory_queries_sorted.par_iter().map(|x| x.encoding_witness()).collect(); + let lhs_contributions: Vec<_> = all_memory_queries + .par_iter() + .map(|x| x.encoding_witness()) + .collect(); + let rhs_contributions: Vec<_> = all_memory_queries_sorted + .par_iter() + .map(|x| x.encoding_witness()) + .collect(); let challenges = produce_fs_challenges::< Field, @@ -350,8 +355,14 @@ pub(crate) fn compute_ram_circuit_snapshots