Skip to content

Commit

Permalink
ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
RajeshRk18 committed Jan 9, 2024
1 parent 78a2daa commit 3f63181
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion circuits/circom/test/sha256Circuit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ describe("SHA256 Circuit", () => {
await circuit.checkConstraints(w);
await circuit.assertOut(w, { out: v1_binary_c });
});
});
});
11 changes: 2 additions & 9 deletions circuits/circom/test/v1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,17 @@ import path from "path";
import { Point } from "@noble/secp256k1";
import { wasm as wasm_tester } from "circom_tester";
import { generate_inputs_from_array } from "secp256k1_hash_to_curve_circom/ts/generate_inputs";
import { bufToSha256PaddedBitArr } from "secp256k1_hash_to_curve_circom/ts/utils";
import { utils } from "ffjavascript";

import {
c_v1,
rPoint,
hashMPk,
hashedToCurveR,
nullifier,
s_v1,
testMessage,
testPublicKey,
testSecretKey,
} from "../../../javascript/test/consts";
import {
hexToBigInt,
concatUint8Arrays,
} from "../../../javascript/src/utils/encoding";
import { hexToBigInt } from "../../../javascript/src/utils/encoding";

import { pointToCircuitValue, scalarToCircuitValue } from "../utils";

Expand Down Expand Up @@ -50,4 +43,4 @@ describe("V1 Circuit", () => {
});
await circuit.checkConstraints(w);
});
});
});

0 comments on commit 3f63181

Please sign in to comment.