diff --git a/.github/workflows/typos.toml b/.github/workflows/typos.toml index 3c432fa5..30e60746 100644 --- a/.github/workflows/typos.toml +++ b/.github/workflows/typos.toml @@ -1,6 +1,2 @@ -[default] -extend-ignore-identifiers-re = [ -] - [default.extend-words] groth = "groth" diff --git a/folding-schemes-solidity/templates/kzg10_verifier.askama.sol b/folding-schemes-solidity/templates/kzg10_verifier.askama.sol index 89b11e7f..e1096ba7 100644 --- a/folding-schemes-solidity/templates/kzg10_verifier.askama.sol +++ b/folding-schemes-solidity/templates/kzg10_verifier.askama.sol @@ -231,7 +231,7 @@ contract KZG10Verifier { require(eval_z == 0, "checkAndCommitAuxPolys: wrong zero poly"); require(eval_l == y_vals[i], "checkAndCommitAuxPolys: wrong lagrange poly"); } - // z(x) has len(x_vals) + 1 coeffs, we add to the commmitment the last coeff of z(x) + // z(x) has len(x_vals) + 1 coeffs, we add to the commitment the last coeff of z(x) z_commit = add(z_commit, mulScalar(G1_CRS[z_coeffs.length - 1], z_coeffs[z_coeffs.length - 1])); return (z_commit, l_commit); diff --git a/folding-schemes/src/folding/hypernova/cccs.rs b/folding-schemes/src/folding/hypernova/cccs.rs index 275cef96..48c0701d 100644 --- a/folding-schemes/src/folding/hypernova/cccs.rs +++ b/folding-schemes/src/folding/hypernova/cccs.rs @@ -111,7 +111,7 @@ impl CCCS { w: &Witness, ) -> Result<(), Error> { // check that C is the commitment of w. Notice that this is not verifying a Pedersen - // opening, but checking that the Commmitment comes from committing to the witness. + // opening, but checking that the commitment comes from committing to the witness. if self.C != Pedersen::commit(pedersen_params, &w.w, &w.r_w)? { return Err(Error::NotSatisfied); } diff --git a/folding-schemes/src/folding/hypernova/lcccs.rs b/folding-schemes/src/folding/hypernova/lcccs.rs index c45841c6..03a30b39 100644 --- a/folding-schemes/src/folding/hypernova/lcccs.rs +++ b/folding-schemes/src/folding/hypernova/lcccs.rs @@ -96,7 +96,7 @@ impl LCCCS { w: &Witness, ) -> Result<(), Error> { // check that C is the commitment of w. Notice that this is not verifying a Pedersen - // opening, but checking that the Commmitment comes from committing to the witness. + // opening, but checking that the commitment comes from committing to the witness. if self.C != Pedersen::commit(pedersen_params, &w.w, &w.r_w)? { return Err(Error::NotSatisfied); } diff --git a/folding-schemes/src/folding/nova/circuits.rs b/folding-schemes/src/folding/nova/circuits.rs index 51eab0e4..fe4e385e 100644 --- a/folding-schemes/src/folding/nova/circuits.rs +++ b/folding-schemes/src/folding/nova/circuits.rs @@ -572,7 +572,7 @@ pub mod tests { assert_eq!(hVar.value().unwrap(), h); } - // checks that the gadget and native implementations of the challenge computation matcbh + // checks that the gadget and native implementations of the challenge computation match #[test] fn test_challenge_gadget() { let mut rng = ark_std::test_rng(); diff --git a/folding-schemes/src/folding/nova/nifs.rs b/folding-schemes/src/folding/nova/nifs.rs index 212f75c7..21198f0b 100644 --- a/folding-schemes/src/folding/nova/nifs.rs +++ b/folding-schemes/src/folding/nova/nifs.rs @@ -143,7 +143,7 @@ where // use r_T=1 since we don't need hiding property for cm(T) let w3 = NIFS::::fold_witness(r, w1, w2, T, C::ScalarField::one())?; - // fold committed instancs + // fold committed instances let ci3 = NIFS::::fold_committed_instance(r, ci1, ci2, &cmT); Ok((w3, ci3)) diff --git a/folding-schemes/src/folding/protogalaxy/folding.rs b/folding-schemes/src/folding/protogalaxy/folding.rs index 1c421b71..b1491caa 100644 --- a/folding-schemes/src/folding/protogalaxy/folding.rs +++ b/folding-schemes/src/folding/protogalaxy/folding.rs @@ -522,7 +522,7 @@ mod tests { ) .unwrap(); - // veriier + // verifier let folded_instance_v = Folding::::verify( &mut transcript_v, &r1cs, @@ -572,7 +572,7 @@ mod tests { ) .unwrap(); - // veriier + // verifier let folded_instance_v = Folding::::verify( &mut transcript_v, &r1cs, diff --git a/folding-schemes/src/transcript/poseidon.rs b/folding-schemes/src/transcript/poseidon.rs index 45431b55..71c368f8 100644 --- a/folding-schemes/src/transcript/poseidon.rs +++ b/folding-schemes/src/transcript/poseidon.rs @@ -57,7 +57,7 @@ where } } -// Returns the point coordinates in Fr, so it can be absrobed by the transcript. It does not work +// Returns the point coordinates in Fr, so it can be absorbed by the transcript. It does not work // over bytes in order to have a logic that can be reproduced in-circuit. fn prepare_point(p: &C) -> Result, Error> { let affine = p.into_affine();