From 9c57ea7066dd10025808e3d9f2819eb3b6234784 Mon Sep 17 00:00:00 2001 From: sklppy88 Date: Sat, 15 Feb 2025 21:35:46 +0000 Subject: [PATCH] init --- yarn-project/circuits.js/src/structs/verification_key.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yarn-project/circuits.js/src/structs/verification_key.ts b/yarn-project/circuits.js/src/structs/verification_key.ts index c6091b1f22bd..1532ad7c3666 100644 --- a/yarn-project/circuits.js/src/structs/verification_key.ts +++ b/yarn-project/circuits.js/src/structs/verification_key.ts @@ -9,7 +9,6 @@ import { HONK_VERIFICATION_KEY_LENGTH_IN_FIELDS, ROLLUP_HONK_VERIFICATION_KEY_LENGTH_IN_FIELDS, } from '../constants.gen.js'; -import { fr } from '../tests/factories.js'; import { CircuitType } from './shared.js'; /** @@ -148,8 +147,8 @@ export class VerificationKeyAsFields { static makeFakeRollupHonk(seed = 1): VerificationKeyAsFields { return new VerificationKeyAsFields( - makeTuple(ROLLUP_HONK_VERIFICATION_KEY_LENGTH_IN_FIELDS, fr, seed), - fr(seed + 1), + makeTuple(ROLLUP_HONK_VERIFICATION_KEY_LENGTH_IN_FIELDS, i => new Fr(i), seed), + new Fr(seed + 1), ); }