From 4a0da07701da18ed36fa6fc82b0f00b280811115 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Mon, 22 Jul 2024 19:09:01 -0300 Subject: [PATCH] Add expectation on verifyProof output --- yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts b/yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts index c68530aeccb..c3b04643c88 100644 --- a/yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts +++ b/yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts @@ -208,15 +208,13 @@ describe('benchmarks/proving', () => { const verifier = await BBCircuitVerifier.new((await getBBConfig(ctx.logger))!); for (let i = 0; i < txVerifyIterations; i++) { for (const tx of provenTxs) { - await verifier.verifyProof(tx); + expect(await verifier.verifyProof(tx)).toBe(true); } } ctx.logger.info('Sending transactions'); const txs = [ - fnCalls[0].send({ - fee: feeFnCall0, - }), + fnCalls[0].send({ fee: feeFnCall0 }), fnCalls[1].send(), // fnCalls[2].send(), // fnCalls[3].send(),