Skip to content

Commit 660e178

Browse files
committed
chores: fix comment
1 parent 8edd0cc commit 660e178

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

mpcs/src/basefold.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ where
259259
todo!("support all are trivial commitment")
260260
}
261261

262+
rmm_to_batch_commit
263+
.iter()
264+
.for_each(|rmm| println!("rmm length {}, is_pad {}", rmm.values.len(), rmm.is_padded));
265+
262266
let span = entered_span!("encode_codeword_and_mle", profiling_3 = true);
263267
let evals_codewords = rmm_to_batch_commit
264268
.into_iter()

mpcs/src/basefold/structure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ where
8989
circuit_codeword_index: BTreeMap<usize, usize>,
9090
) -> Self {
9191
let mmcs = poseidon2_merkle_tree::<E>();
92-
// size = height * 2 because we concat pi[left]/pi[right] under same row index
92+
// size = height * 2 because we split codeword leafs into left/right, concat and commit under same row index
9393
let log2_max_codeword_size = log2_strict_usize(
9494
mmcs.get_matrices(&codeword)
9595
.iter()

witness/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub struct RowMajorMatrix<T: Sized + Sync + Clone + Send + Copy> {
3737
inner: p3::matrix::dense::RowMajorMatrix<T>,
3838
// num_row is the real instance BEFORE padding
3939
num_rows: usize,
40-
is_padded: bool,
40+
pub is_padded: bool,
4141
padding_strategy: InstancePaddingStrategy,
4242
}
4343

0 commit comments

Comments
 (0)