From 7c953303cc3c27d76b6e6ea89fa23de1a40fba9a Mon Sep 17 00:00:00 2001 From: YaoGalteland Date: Mon, 11 Mar 2024 20:10:42 +0100 Subject: [PATCH] remove #[cfg(test)] --- halo2_gadgets/Cargo.toml | 2 -- halo2_gadgets/src/utilities/lookup_range_check.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/halo2_gadgets/Cargo.toml b/halo2_gadgets/Cargo.toml index 9508567603..09ab4efc84 100644 --- a/halo2_gadgets/Cargo.toml +++ b/halo2_gadgets/Cargo.toml @@ -49,8 +49,6 @@ pprof = { version = "0.8", features = ["criterion", "flamegraph"] } # MSRV 1.56 bench = false [features] -default = ["verifiable-encryption"] -verifiable-encryption = [] test-dev-graph = [ "halo2_proofs/dev-graph", "plotters", diff --git a/halo2_gadgets/src/utilities/lookup_range_check.rs b/halo2_gadgets/src/utilities/lookup_range_check.rs index c9cbfa9f1c..26db3fd984 100644 --- a/halo2_gadgets/src/utilities/lookup_range_check.rs +++ b/halo2_gadgets/src/utilities/lookup_range_check.rs @@ -186,7 +186,6 @@ impl LookupRangeCheckConfig { config } - #[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.