From bc81d4ba6900c211f3bd143670dfaf8c80d22e64 Mon Sep 17 00:00:00 2001 From: Mason Liang Date: Mon, 9 Oct 2023 21:53:18 -0400 Subject: [PATCH] Fix comment --- src/mpt.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mpt.rs b/src/mpt.rs index 08963faa..12ce206c 100644 --- a/src/mpt.rs +++ b/src/mpt.rs @@ -118,8 +118,6 @@ impl MptCircuitConfig { proofs: &[Proof], n_rows: usize, ) -> Result<(), Error> { - dbg!(Self::n_rows_required(proofs)); - let randomness = self.rlc_randomness.value(layouter); let (u32s, u64s, u128s, frs) = byte_representations(proofs); @@ -182,7 +180,7 @@ impl MptCircuitConfig { pub fn n_rows_required(proofs: &[Proof]) -> usize { let (u32s, u64s, u128s, frs) = byte_representations(proofs); - // +1 for the final padding row to satisfy the "final mpt update is padding" constraint. + // +1 for the final padding row to satisfy the "final mpt update is padding" constraint. 1 + *[ MptUpdateConfig::n_rows_required(proofs), CanonicalRepresentationConfig::n_rows_required(&mpt_update_keys(proofs)),