diff --git a/circuits/src/keccak/mod.rs b/circuits/src/keccak/mod.rs index 0b92375..7a4714e 100644 --- a/circuits/src/keccak/mod.rs +++ b/circuits/src/keccak/mod.rs @@ -269,7 +269,7 @@ where /// /// # Note /// - /// The `vk` has to be already paddeed. + /// The `vk` has to be already padded. pub fn from_vk(vk: &VerificationKey) -> Self { let VerificationKey { alpha, diff --git a/circuits/src/keccak/utils.rs b/circuits/src/keccak/utils.rs index 5c18fac..087f351 100644 --- a/circuits/src/keccak/utils.rs +++ b/circuits/src/keccak/utils.rs @@ -472,7 +472,7 @@ pub fn compute_submission_id( /// Compute the representation of a 32-byte Keccak digest as a pair of field /// elements. The elements are the low and high order 128-bit halves -/// (respectivaly) of the digest when interpretted as a 256-bit word. Namely, +/// (respectively) of the digest when interpreted as a 256-bit word. Namely, /// they are the (big-endian) integers encoded in the trailing and leading /// (respectively) 16 bytes of the digest in memory. /// See ``digestAsFieldElements` in `UpaLib.sol`.