Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ConstanceBeguier committed Jul 5, 2024
1 parent 4165304 commit c9e62f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion halo2_gadgets/src/ecc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ pub(crate) mod tests {
}

#[test]
fn test_against_stored_ecc_chip() {
fn test_ecc_chip_against_stored_circuit() {
let circuit: MyCircuit<PallasLookupRangeCheckConfig> = MyCircuit {
test_errors: false,
_lookup_marker: PhantomData,
Expand Down
2 changes: 1 addition & 1 deletion halo2_gadgets/src/sinsemilla/chip/hash_to_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use pasta_curves::{arithmetic::CurveAffine, pallas};

use std::ops::Deref;

/// Define an enum that can hold either a public or a private ECC Point
/// `EccPointQ` can hold either a public or a private ECC Point
#[derive(Debug, Clone)]
#[allow(dead_code)]
pub enum EccPointQ<'a> {
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 @@ -58,7 +58,7 @@ impl<F: PrimeFieldBits> RangeConstrained<F, AssignedCell<F, F>> {
}
}

/// Configuration that provides methods for a lookup range check.
/// Configuration that provides methods for a 10-bit lookup range check.
#[derive(Eq, PartialEq, Debug, Clone, Copy)]
pub struct LookupRangeCheckConfig<F: PrimeFieldBits, const K: usize> {
q_lookup: Selector,
Expand Down

0 comments on commit c9e62f3

Please sign in to comment.