Skip to content

Commit

Permalink
modify features for verifiable-encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoGalteland committed Mar 11, 2024
1 parent 5f436dc commit b7f99b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions halo2_gadgets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion halo2_gadgets/src/utilities/lookup_range_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b7f99b6

Please sign in to comment.