From 8387285a94fba5fc8f60e34aabed2ffa818b2b1d Mon Sep 17 00:00:00 2001 From: jeanmon Date: Tue, 5 Sep 2023 12:46:24 +0000 Subject: [PATCH] 2011 - bugfix --- yarn-project/aztec-rpc/src/kernel_prover/kernel_prover.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yarn-project/aztec-rpc/src/kernel_prover/kernel_prover.ts b/yarn-project/aztec-rpc/src/kernel_prover/kernel_prover.ts index 031074268dbb..8699ce235825 100644 --- a/yarn-project/aztec-rpc/src/kernel_prover/kernel_prover.ts +++ b/yarn-project/aztec-rpc/src/kernel_prover/kernel_prover.ts @@ -22,7 +22,6 @@ import { makeEmptyProof, makeTuple, } from '@aztec/circuits.js'; -import { makeEmptyReadRequestMembershipWitness } from '@aztec/circuits.js/factories'; import { Tuple, assertLength } from '@aztec/foundation/serialize'; import { KernelProofCreator, ProofCreator, ProofOutput, ProofOutputFinal } from './proof_creator.js'; @@ -217,7 +216,7 @@ export class KernelProver { VerificationKey.fromBuffer(vk), functionLeafMembershipWitness, contractLeafMembershipWitness, - makeTuple(MAX_READ_REQUESTS_PER_CALL, makeEmptyReadRequestMembershipWitness), + makeTuple(MAX_READ_REQUESTS_PER_CALL, i => readRequestMembershipWitnesses[i], 0), portalContractAddress.toField(), acirHash, );