Skip to content

Commit

Permalink
lookup tests update
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoGalteland committed Jun 4, 2024
1 parent 9cef0b0 commit f69907b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions halo2_gadgets/src/utilities/lookup_range_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,10 +994,11 @@ mod tests {
fn configure(meta: &mut ConstraintSystem<F>) -> Self::Config {
let running_sum = meta.advice_column();
let table_idx = meta.lookup_table_column();
let table_range_check_tag = meta.lookup_table_column();
let constants = meta.fixed_column();
meta.enable_constant(constants);

LookupRangeCheckConfigOptimized::<F, K>::configure(meta, running_sum, table_idx)
LookupRangeCheckConfigOptimized::<F, K>::configure_with_tag(meta, running_sum, table_idx, table_range_check_tag)
}

fn synthesize(
Expand Down Expand Up @@ -1093,10 +1094,11 @@ mod tests {
fn configure(meta: &mut ConstraintSystem<F>) -> Self::Config {
let running_sum = meta.advice_column();
let table_idx = meta.lookup_table_column();
let table_range_check_tag = meta.lookup_table_column();
let constants = meta.fixed_column();
meta.enable_constant(constants);

LookupRangeCheckConfigOptimized::<F, K>::configure(meta, running_sum, table_idx)
LookupRangeCheckConfigOptimized::<F, K>::configure_with_tag(meta, running_sum, table_idx, table_range_check_tag)
}

fn synthesize(
Expand Down

0 comments on commit f69907b

Please sign in to comment.