From aa308497c44faf5c042a742b408a5b8002bdb595 Mon Sep 17 00:00:00 2001 From: RajeshRk18 Date: Wed, 22 Nov 2023 01:16:01 +0530 Subject: [PATCH] ran prettier --- circuits/circom/test/sha256Circuit.test.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/circuits/circom/test/sha256Circuit.test.ts b/circuits/circom/test/sha256Circuit.test.ts index 9305b8b..346ce42 100644 --- a/circuits/circom/test/sha256Circuit.test.ts +++ b/circuits/circom/test/sha256Circuit.test.ts @@ -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, @@ -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);