From d78ad5a7b2db90dc3fc1c6ac11f6b460c4959acc Mon Sep 17 00:00:00 2001 From: Jeeiii Date: Wed, 24 Apr 2024 12:18:41 +0200 Subject: [PATCH] chore: small tiny picks in code comments --- circuits/circom/utils/processMessagesInputHasher.circom | 2 +- circuits/circom/utils/verifySignature.circom | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/circuits/circom/utils/processMessagesInputHasher.circom b/circuits/circom/utils/processMessagesInputHasher.circom index 7656de98ae..8b7acec0aa 100644 --- a/circuits/circom/utils/processMessagesInputHasher.circom +++ b/circuits/circom/utils/processMessagesInputHasher.circom @@ -25,7 +25,7 @@ template ProcessMessagesInputHasher() { signal input packedVals; signal input coordPubKey[2]; signal input msgRoot; - // The current state and ballot root commitment (hash(stateRoot, ballotRoot, salt). + // The current state and ballot root commitment (hash(stateRoot, ballotRoot, salt)). signal input currentSbCommitment; signal input newSbCommitment; signal input pollEndTimestamp; diff --git a/circuits/circom/utils/verifySignature.circom b/circuits/circom/utils/verifySignature.circom index 77ace73324..dcc42c08aa 100644 --- a/circuits/circom/utils/verifySignature.circom +++ b/circuits/circom/utils/verifySignature.circom @@ -58,7 +58,7 @@ template EdDSAPoseidonVerifier_patched() { // Compute the right side: right = R8 + right2. var (computedAddRightXOut, computedAddRightYOut) = BabyAdd()(R8x, R8y, computedEscalarMulAny[0], computedEscalarMulAny[1]); - // Calculate left side of equation left = S*B8. + // Calculate the left side: left = S * B8. var BASE8[2] = [ 5299619240641551281634865583518297030282874472190772894086521144482721001553, 16950150798460657717958625567821834550301663161624707787222815936182638968203