Compare commits

...

3 Commits

Author SHA1 Message Date
YaoGalteland c7914183b0 fix the problem from deny(missing_docs) 2024-03-11 20:19:40 +01:00
YaoGalteland 7c953303cc remove #[cfg(test)] 2024-03-11 20:10:42 +01:00
YaoGalteland 9c647a2eec update feature 2024-03-11 20:05:54 +01:00
1 changed files with 4 additions and 4 deletions

View File

@ -186,10 +186,10 @@ impl<F: PrimeFieldBits, const K: usize> LookupRangeCheckConfig<F, K> {
config
}
#[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.
#[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.
pub fn load(&self, layouter: &mut impl Layouter<F>) -> Result<(), Error> {
layouter.assign_table(
|| "table_idx",