From 43241296178264007b5149933e0a14c05cf56293 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Fri, 13 Dec 2024 17:21:20 +0000 Subject: [PATCH] chore: lint --- .../prover-client/src/proving_broker/proving_broker.test.ts | 2 +- .../prover-client/src/proving_broker/proving_broker.ts | 2 +- yarn-project/prover-node/src/prover-node.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/yarn-project/prover-client/src/proving_broker/proving_broker.test.ts b/yarn-project/prover-client/src/proving_broker/proving_broker.test.ts index e0609ce22dd..4782cd61489 100644 --- a/yarn-project/prover-client/src/proving_broker/proving_broker.test.ts +++ b/yarn-project/prover-client/src/proving_broker/proving_broker.test.ts @@ -2,7 +2,7 @@ import { type ProofUri, type ProvingJob, type ProvingJobId, - ProvingJobStatus, + type ProvingJobStatus, ProvingRequestType, } from '@aztec/circuit-types'; import { randomBytes } from '@aztec/foundation/crypto'; diff --git a/yarn-project/prover-client/src/proving_broker/proving_broker.ts b/yarn-project/prover-client/src/proving_broker/proving_broker.ts index 6edf6c824e2..7ffbb5244ed 100644 --- a/yarn-project/prover-client/src/proving_broker/proving_broker.ts +++ b/yarn-project/prover-client/src/proving_broker/proving_broker.ts @@ -3,7 +3,7 @@ import { type ProvingJob, type ProvingJobConsumer, type ProvingJobFilter, - ProvingJobId, + type ProvingJobId, type ProvingJobProducer, type ProvingJobSettledResult, type ProvingJobStatus, diff --git a/yarn-project/prover-node/src/prover-node.ts b/yarn-project/prover-node/src/prover-node.ts index f6853ca28fe..cc7a5b126f5 100644 --- a/yarn-project/prover-node/src/prover-node.ts +++ b/yarn-project/prover-node/src/prover-node.ts @@ -262,8 +262,9 @@ export class ProverNode implements ClaimsMonitorHandler, EpochMonitorHandler, Pr // Create a processor using the forked world state const publicProcessorFactory = new PublicProcessorFactory(this.contractDataSource, this.telemetryClient); - const cleanUp = async () => { + const cleanUp = () => { this.jobs.delete(job.getId()); + return Promise.resolve(); }; const job = this.doCreateEpochProvingJob(epochNumber, blocks, publicProcessorFactory, cleanUp);