Skip to content

Commit

Permalink
IVC/interpreter: testing with 100 columns
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Jun 20, 2024
1 parent 0ec368e commit 8a5ad52
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ivc/src/ivc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ mod tests {
}

#[test]
// Verifying the IVC circuit can be built with 50 columns for the application
fn test_completeness_ivc_app_50_cols() {
// Number of challenges in the IVC circuit.
// It is the maximum number of constraints per row.
Expand All @@ -225,4 +226,16 @@ mod tests {

test_completeness_ivc::<{ IVCColumn::N_COL + 50 }, TEST_N_CHALS>()
}

#[test]
// Verifying the IVC circuit can be built with 100 columns for the application
fn test_completeness_ivc_app_100_cols() {
// Number of challenges in the IVC circuit.
// It is the maximum number of constraints per row.
// We do suppose it is Poseidon which has the highest number of constraints
// for now.
pub const TEST_N_CHALS: usize = IVC_POSEIDON_NB_CONSTRAINTS;

test_completeness_ivc::<{ IVCColumn::N_COL + 100 }, TEST_N_CHALS>()
}
}

0 comments on commit 8a5ad52

Please sign in to comment.