From 9c647a2eec8f9050950f21cead113e8d1edd5256 Mon Sep 17 00:00:00 2001 From: YaoGalteland Date: Mon, 11 Mar 2024 20:05:54 +0100 Subject: [PATCH] update feature --- halo2_gadgets/src/utilities/lookup_range_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.