Skip to content

Commit

Permalink
Merge e81db20 into 90d8092
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr authored May 17, 2024
2 parents 90d8092 + e81db20 commit 82cc3cf
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions yarn-project/end-to-end/src/benchmarks/bench_prover.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ import { getACVMConfig } from '../fixtures/get_acvm_config.js';
import { getBBConfig } from '../fixtures/get_bb_config.js';
import { type EndToEndContext, setup } from '../fixtures/utils.js';

jest.setTimeout(3_600_000);

const txTimeoutSec = 3600;
jest.setTimeout(12_000_000);
const txTimeoutSec = 1200;

describe('benchmarks/proving', () => {
let ctx: EndToEndContext;
Expand Down Expand Up @@ -200,24 +199,18 @@ describe('benchmarks/proving', () => {
),
};

ctx.logger.info('Proving first two transactions');
ctx.logger.info('Proving transactions in parallel');
await Promise.all([
fnCalls[0].prove(),
fnCalls[1].prove({
fee: feeFnCall1,
}),
]);

ctx.logger.info('Proving the next transactions');
await Promise.all([
fnCalls[2].prove(),
fnCalls[3].prove({
fee: feeFnCall3,
}),
]);

ctx.logger.info('Finished proving all transactions');

ctx.logger.info('Sending transactions');
const txs = [
fnCalls[0].send(),
Expand Down

0 comments on commit 82cc3cf

Please sign in to comment.