mirror of https://github.com/zcash/halo2.git
modify features for verifiable-encryption
This commit is contained in:
parent
5f436dc338
commit
b7f99b6e8e
|
@ -49,6 +49,8 @@ pprof = { version = "0.8", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
default = ["verifiable-encryption"]
|
||||||
|
verifiable-encryption = []
|
||||||
test-dev-graph = [
|
test-dev-graph = [
|
||||||
"halo2_proofs/dev-graph",
|
"halo2_proofs/dev-graph",
|
||||||
"plotters",
|
"plotters",
|
||||||
|
|
|
@ -186,7 +186,7 @@ impl<F: PrimeFieldBits, const K: usize> LookupRangeCheckConfig<F, K> {
|
||||||
config
|
config
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(feature = "verifiable-encryption")]
|
||||||
// Fill `table_idx` and `table_range_check_tag`.
|
// 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
|
// This is only used in testing for now, since the Sinsemilla chip provides a pre-loaded table
|
||||||
// in the Orchard context.
|
// in the Orchard context.
|
||||||
|
|
Loading…
Reference in New Issue