diff --git a/README.md b/README.md index a56c676d..b46fb9fd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ ## Organisation -This respository contains 5 folders: +This repository contains 5 folders: - `circuits`: it contains the implementation of different cryptographic primitives in circom language. - `calcpedersenbases`: set of functions in JavaScript used to find a set of points in [Baby Jubjub](https://github.com/barryWhiteHat/baby_jubjub) elliptic curve that serve as basis for the [Pedersen Hash](https://github.com/zcash/zcash/issues/2234). - `doc`: it contains some circuit schemes in ASCII (must be opened with Monodraw, an ASCII art editor for Mac). diff --git a/circuits/smt/smtprocessorlevel.circom b/circuits/smt/smtprocessorlevel.circom index 4312c971..384b0728 100644 --- a/circuits/smt/smtprocessorlevel.circom +++ b/circuits/smt/smtprocessorlevel.circom @@ -35,7 +35,7 @@ na 0 0 upd old1leaf new1leaf -H' is the Hash function with the inputs shifted acordingly. +H' is the Hash function with the inputs shifted accordingly. *****/ pragma circom 2.0.0; diff --git a/circuits/smt/smtverifierlevel.circom b/circuits/smt/smtverifierlevel.circom index defeee33..fac64a93 100644 --- a/circuits/smt/smtverifierlevel.circom +++ b/circuits/smt/smtverifierlevel.circom @@ -33,7 +33,7 @@ iold old1leaf inew new1leaf na 0 -H' is the Hash function with the inputs shifted acordingly. +H' is the Hash function with the inputs shifted accordingly. *****/ pragma circom 2.0.0; diff --git a/test/binsub.js b/test/binsub.js index 12809c92..262773c9 100644 --- a/test/binsub.js +++ b/test/binsub.js @@ -29,7 +29,7 @@ describe("BinSub test", function () { circuit = await wasm_tester(path.join(__dirname, "circuits", "binsub_test.circom")); }); - it("Should check variuos ege cases", async () => { + it("Should check various ege cases", async () => { await checkSub(0,0, circuit); await checkSub(1,0, circuit); await checkSub(-1,0, circuit); diff --git a/test/eddsamimc.js b/test/eddsamimc.js index 0cf51211..5f6e7c4a 100644 --- a/test/eddsamimc.js +++ b/test/eddsamimc.js @@ -75,7 +75,7 @@ describe("EdDSA MiMC test", function () { }); - it("Test a dissabled circuit with a bad signature", async () => { + it("Test a disabled circuit with a bad signature", async () => { const msg = F.e(1234); const prvKey = Buffer.from("0001020304050607080900010203040506070809000102030405060708090001", "hex"); diff --git a/test/eddsaposeidon.js b/test/eddsaposeidon.js index 3dec2cd6..e0d51f66 100644 --- a/test/eddsaposeidon.js +++ b/test/eddsaposeidon.js @@ -77,7 +77,7 @@ describe("EdDSA Poseidon test", function () { }); - it("Test a dissabled circuit with a bad signature", async () => { + it("Test a disabled circuit with a bad signature", async () => { const msg = F.e(1234); const prvKey = Buffer.from("0001020304050607080900010203040506070809000102030405060708090001", "hex"); diff --git a/test/point2bits.js b/test/point2bits.js index 98af5166..508eafdf 100644 --- a/test/point2bits.js +++ b/test/point2bits.js @@ -17,12 +17,12 @@ describe("Point 2 bits test", function() { circuit = await wasm_tester(path.join(__dirname, "circuits", "pointbits_loopback.circom")); }); - it("Should do the both convertions for 8Base", async () => { + it("Should do the both conversions for 8Base", async () => { const w = await circuit.calculateWitness({ in: [F.toObject(babyJub.Base8[0]), F.toObject(babyJub.Base8[1])]}, true); await circuit.checkConstraints(w); }); - it("Should do the both convertions for Zero point", async () => { + it("Should do the both conversions for Zero point", async () => { const w = await circuit.calculateWitness({ in: [0, 1]}, true); await circuit.checkConstraints(w);