From 234a94d295f9bf03b31e5608333ce875be2303c2 Mon Sep 17 00:00:00 2001 From: turnoffthiscomputer Date: Sat, 14 Sep 2024 19:05:27 +0200 Subject: [PATCH] yarn format --- circuits/package.json | 2 +- circuits/tests/utils/leaf_hasher.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/circuits/package.json b/circuits/package.json index d27a4219..b28fdffb 100644 --- a/circuits/package.json +++ b/circuits/package.json @@ -49,4 +49,4 @@ "ts-mocha": "^10.0.0", "ts-node": "^10.9.2" } -} \ No newline at end of file +} diff --git a/circuits/tests/utils/leaf_hasher.test.ts b/circuits/tests/utils/leaf_hasher.test.ts index 23d6538a..d88d5c03 100644 --- a/circuits/tests/utils/leaf_hasher.test.ts +++ b/circuits/tests/utils/leaf_hasher.test.ts @@ -9,7 +9,7 @@ import { mock_csca_sha256_rsa_2048, mock_dsc_sha1_rsa_2048, mock_csca_sha1_rsa_2048, - mock_dsc_sha1_ecdsa + mock_dsc_sha1_ecdsa, } from '../../../common/src/constants/mockCertificates'; import { hexToDecimal, splitToWords } from '../../../common/src/utils/utils'; import { getLeaf, leafHasherLight } from '../../../common/src/utils/pubkeyTree'; @@ -63,7 +63,7 @@ describe('LeafHasher Light', function () { in: splitToWords(BigInt(hexToDecimal(modulus)), n_dsc, k_dsc), sigAlg: SignatureAlgorithmIndex[ - `${signatureAlgorithm}_${curve || exponent}_${hashFunction}_${bits}` + `${signatureAlgorithm}_${curve || exponent}_${hashFunction}_${bits}` ], }; const witness = await circuit.calculateWitness(inputs, true);