modify features for verifiable-encryption

This commit is contained in:
YaoGalteland 2024-03-11 15:34:29 +01:00
parent 5f436dc338
commit b7f99b6e8e
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,8 @@ 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",

View File

@ -186,7 +186,7 @@ impl<F: PrimeFieldBits, const K: usize> LookupRangeCheckConfig<F, K> {
config
}
#[cfg(test)]
#[cfg(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.