From f69907b7416acece9a767e5c57a5e7df05837d5a Mon Sep 17 00:00:00 2001 From: YaoGalteland Date: Tue, 4 Jun 2024 13:36:41 +0200 Subject: [PATCH] lookup tests update --- halo2_gadgets/src/utilities/lookup_range_check.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/halo2_gadgets/src/utilities/lookup_range_check.rs b/halo2_gadgets/src/utilities/lookup_range_check.rs index a1d9b41ad..bfc270045 100644 --- a/halo2_gadgets/src/utilities/lookup_range_check.rs +++ b/halo2_gadgets/src/utilities/lookup_range_check.rs @@ -994,10 +994,11 @@ mod tests { fn configure(meta: &mut ConstraintSystem) -> 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::::configure(meta, running_sum, table_idx) + LookupRangeCheckConfigOptimized::::configure_with_tag(meta, running_sum, table_idx, table_range_check_tag) } fn synthesize( @@ -1093,10 +1094,11 @@ mod tests { fn configure(meta: &mut ConstraintSystem) -> 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::::configure(meta, running_sum, table_idx) + LookupRangeCheckConfigOptimized::::configure_with_tag(meta, running_sum, table_idx, table_range_check_tag) } fn synthesize(