diff --git a/halo2-base/src/poseidon/hasher/mod.rs b/halo2-base/src/poseidon/hasher/mod.rs index 68cf64c6..035862d5 100644 --- a/halo2-base/src/poseidon/hasher/mod.rs +++ b/halo2-base/src/poseidon/hasher/mod.rs @@ -243,7 +243,7 @@ impl PoseidonHasher, SafeTypeChip<'_, Fr>)>(mut f: FM) { base_test().k(10).lookup_bits(8).run(|ctx, range| { let safe = SafeTypeChip::new(range); diff --git a/halo2-base/src/utils/mod.rs b/halo2-base/src/utils/mod.rs index 2aaa5166..87404349 100644 --- a/halo2-base/src/utils/mod.rs +++ b/halo2-base/src/utils/mod.rs @@ -62,7 +62,7 @@ pub trait ScalarField: PrimeField + FromUniformBytes<64> + From + Hash + O /// Creates a field element from a little endian byte representation. /// /// The default implementation assumes that `PrimeField::from_repr` is implemented for little-endian. - /// It should be overriden if this is not the case. + /// It should be overridden if this is not the case. fn from_bytes_le(bytes: &[u8]) -> Self { let mut repr = Self::Repr::default(); repr.as_mut()[..bytes.len()].copy_from_slice(bytes); diff --git a/halo2-ecc/src/ecc/fixed_base.rs b/halo2-ecc/src/ecc/fixed_base.rs index 304cd6b8..936b0efb 100644 --- a/halo2-ecc/src/ecc/fixed_base.rs +++ b/halo2-ecc/src/ecc/fixed_base.rs @@ -208,7 +208,7 @@ where }, ); let ctx = builder.main(); - // sum `scalar_mults` but take into account possiblity of identity points + // sum `scalar_mults` but take into account possibility of identity points let any_point2 = chip.load_random_point::(ctx); let mut acc = any_point2.clone(); for point in scalar_mults { diff --git a/halo2-ecc/src/ecc/mod.rs b/halo2-ecc/src/ecc/mod.rs index 65cec232..703a4305 100644 --- a/halo2-ecc/src/ecc/mod.rs +++ b/halo2-ecc/src/ecc/mod.rs @@ -1090,7 +1090,7 @@ where if radix == 0 { radix = 1; }*/ - // guessing that is is always better to use parallelism for >25 points + // guessing that is always better to use parallelism for >25 points pippenger::multi_exp_par::( self.field_chip, builder,