Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion circuits/smt/smtprocessorlevel.circom
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion circuits/smt/smtverifierlevel.circom
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/binsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion test/eddsamimc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/eddsaposeidon.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions test/point2bits.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down