From 7a78cdbdf6f0a9e466dae65840ca3b2ef0dcbb2a Mon Sep 17 00:00:00 2001 From: crStiv Date: Wed, 16 Jul 2025 21:27:12 +0200 Subject: [PATCH 1/2] Update mod.rs --- circuits/src/keccak/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 0c24f128435ef46acd8cb855df2ba891c6a05078 Mon Sep 17 00:00:00 2001 From: crStiv Date: Wed, 16 Jul 2025 21:27:58 +0200 Subject: [PATCH 2/2] Update utils.rs --- circuits/src/keccak/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`.