diff --git a/halo2_gadgets/src/utilities/lookup_range_check.rs b/halo2_gadgets/src/utilities/lookup_range_check.rs index f88d0df21f..c9cbfa9f1c 100644 --- a/halo2_gadgets/src/utilities/lookup_range_check.rs +++ b/halo2_gadgets/src/utilities/lookup_range_check.rs @@ -186,7 +186,7 @@ impl LookupRangeCheckConfig { config } - #[cfg(feature = "verifiable-encryption")] + #[cfg(any(test, feature = "verifiable-encryption"))] // Fill `table_idx` and `table_range_check_tag`. // This is only used in testing for now, since the Sinsemilla chip provides a pre-loaded table // in the Orchard context.