Skip to content

Commit

Permalink
ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
RajeshRk18 committed Dec 9, 2023
1 parent 6342504 commit aa30849
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions circuits/circom/test/sha256Circuit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ describe("SHA256 Circuit", () => {
hexToBigInt(hashMPk.y.toString()),
);

const public_key_compressed = Array.from(Point.fromPrivateKey(testSecretKey).toRawBytes(true));

const public_key_compressed = Array.from(
Point.fromPrivateKey(testSecretKey).toRawBytes(true),
);

const sha_preimage_points: Point[] = [
Point.BASE,
hashMPkPoint,
Expand Down Expand Up @@ -67,7 +69,11 @@ describe("SHA256 Circuit", () => {
const circuit = await wasm_tester(p, { json: true, sym: true });

const w = await circuit.calculateWitness(
{ pk_compressed: public_key_compressed, coordinates, preimage_bit_length: v1_sha256_preimage_bit_length },
{
pk_compressed: public_key_compressed,
coordinates,
preimage_bit_length: v1_sha256_preimage_bit_length,
},
true,
);
await circuit.checkConstraints(w);
Expand Down

0 comments on commit aa30849

Please sign in to comment.