From cf676d059116b9cb9b3f264d08600518ec525371 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Fri, 28 Feb 2025 16:05:21 +0200 Subject: [PATCH 1/3] Update libsemaphore.md --- .../docusaurus-plugin-content-docs/version-V1/libsemaphore.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/libsemaphore.md b/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/libsemaphore.md index 959ad2b40..981ca86c1 100644 --- a/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/libsemaphore.md +++ b/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/libsemaphore.md @@ -145,7 +145,7 @@ Returns `false` otherwise. **`signMsg(privKey: EddsaPrivateKey, msg: SnarkBigInt): EdDSAMiMcSpongeSignature)`** -Encapsualtes `circomlib.eddsa.signMiMCSponge` to sign a message `msg` using private key `privKey`. +Encapsulates `circomlib.eddsa.signMiMCSponge` to sign a message `msg` using private key `privKey`. **`verifySignature(msg: SnarkBigInt, signature: EdDSAMiMcSpongeSignature, pubKey: EddsaPublicKey)`: boolean** @@ -190,7 +190,7 @@ const genWitness = async ( - `circuit` is the output of `genCircuit()`. - `identity` is the `Identity` whose identity commitment you want to prove is in the set of registered identities. -- `idCommitments` is an array of registered identity commmitments; i.e. the +- `idCommitments` is an array of registered identity commitments; i.e. the leaves of the tree. - `treeDepth` is the number of levels which the Merkle tree used has - `externalNullifier` is the current external nullifier From 87e985abcb927147ca80ebb0fdaa500fdf6fb1c2 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Fri, 28 Feb 2025 16:06:43 +0200 Subject: [PATCH 2/3] Update what-is-semaphore.md --- .../version-V1/what-is-semaphore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/what-is-semaphore.md b/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/what-is-semaphore.md index 4cfee3b74..b226266d2 100644 --- a/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/what-is-semaphore.md +++ b/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V1/what-is-semaphore.md @@ -89,7 +89,7 @@ An anonymous voting app would be configured differently: | ----------------------------------- | ------------------------ | | The hash of the respondent's answer | The hash of the question | -This allows any user to vote with an arbitary response (e.g. yes, no, or maybe) +This allows any user to vote with an arbitrary response (e.g. yes, no, or maybe) to any question. The user, however, can only vote once per question. ## About the code From af970228a786897a3012906fc9324c472f40709d Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Fri, 28 Feb 2025 16:07:09 +0200 Subject: [PATCH 3/3] Update subgraph.md --- .../es/docusaurus-plugin-content-docs/version-V2/subgraph.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V2/subgraph.md b/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V2/subgraph.md index 6805aa7e1..80e16fcea 100644 --- a/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V2/subgraph.md +++ b/apps/docs/i18n/es/docusaurus-plugin-content-docs/version-V2/subgraph.md @@ -9,7 +9,7 @@ Site owners publish _subgraphs_ that expose site data for anyone to query. Semaphore's subgraph allows you to retrieve data from the [`Semaphore.sol`](https://github.com/semaphore-protocol/semaphore/tree/v2.6.1/packages/contracts/Semaphore.sol) smart contract. :::tip -The Graph protocol uses the [GraphQL](https://graphql.org/) query lanaguage. For examples, see the [GraphQL API documentation](https://thegraph.com/docs/developer/graphql-api). Visit the [subgraph repository](https://github.com/semaphore-protocol/subgraph) to see the list of Semaphore subgraphs. +The Graph protocol uses the [GraphQL](https://graphql.org/) query language. For examples, see the [GraphQL API documentation](https://thegraph.com/docs/developer/graphql-api). Visit the [subgraph repository](https://github.com/semaphore-protocol/subgraph) to see the list of Semaphore subgraphs. ::: ## Schema