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), ); }