diff --git a/halo2_gadgets/src/sinsemilla.rs b/halo2_gadgets/src/sinsemilla.rs index ee70342e3..14c9869eb 100644 --- a/halo2_gadgets/src/sinsemilla.rs +++ b/halo2_gadgets/src/sinsemilla.rs @@ -605,7 +605,7 @@ pub(crate) mod tests { fn configure( meta: &mut ConstraintSystem, - enable_hash_from_private_point: bool, + init_from_private_point: bool, ) -> EccSinsemillaConfig { let advices = [ meta.advice_column(), @@ -659,7 +659,7 @@ pub(crate) mod tests { lagrange_coeffs[0], lookup, range_check, - enable_hash_from_private_point, + init_from_private_point, ); let config2 = SinsemillaChip::configure( meta, @@ -668,7 +668,7 @@ pub(crate) mod tests { lagrange_coeffs[1], lookup, range_check, - enable_hash_from_private_point, + init_from_private_point, ); (ecc_config, config1, config2) } diff --git a/halo2_gadgets/src/sinsemilla/merkle.rs b/halo2_gadgets/src/sinsemilla/merkle.rs index ae2f3883b..e985209d8 100644 --- a/halo2_gadgets/src/sinsemilla/merkle.rs +++ b/halo2_gadgets/src/sinsemilla/merkle.rs @@ -234,7 +234,7 @@ pub mod tests { #[allow(clippy::type_complexity)] fn configure( meta: &mut ConstraintSystem, - enable_hash_from_private_point: bool, + init_from_private_point: bool, ) -> ( MerkleConfig, MerkleConfig, @@ -277,7 +277,7 @@ pub mod tests { fixed_y_q_1, lookup, range_check, - enable_hash_from_private_point, + init_from_private_point, ); let config1 = MerkleChip::configure(meta, sinsemilla_config_1); @@ -288,7 +288,7 @@ pub mod tests { fixed_y_q_2, lookup, range_check, - enable_hash_from_private_point, + init_from_private_point, ); let config2 = MerkleChip::configure(meta, sinsemilla_config_2); diff --git a/halo2_proofs/src/plonk/error.rs b/halo2_proofs/src/plonk/error.rs index 6ffed3a30..4478751fc 100644 --- a/halo2_proofs/src/plonk/error.rs +++ b/halo2_proofs/src/plonk/error.rs @@ -40,7 +40,7 @@ pub enum Error { ColumnNotInPermutation(Column), /// An error relating to a lookup table. TableError(TableError), - /// Try to hash from a private point when enable_hash_from_private_point is not set. + /// Try to hash from a private point when init_from_private_point is not set. HashFromPrivatePoint, }