Skip to content

Commit e5efd1d

Browse files
committed
fix(fast-inbox): annotate the rerun checkpoint job return type (A-1427)
Destructuring the sub-tree proof bundle left the helper's inferred return type unnameable outside the package, so declare it explicitly.
1 parent fa7a627 commit e5efd1d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

yarn-project/prover-node/src/actions/rerun-epoch-proving-job.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { DateProvider } from '@aztec/foundation/timer';
66
import { type ProverClientConfig, createProverClient } from '@aztec/prover-client';
77
import { ProverBrokerConfig, createAndStartProvingBroker } from '@aztec/prover-client/broker';
88
import { getLastSiblingPath } from '@aztec/prover-client/helpers';
9-
import { ChonkCache } from '@aztec/prover-client/orchestrator';
9+
import { type CheckpointSubTreeProofs, ChonkCache } from '@aztec/prover-client/orchestrator';
1010
import { AvmSimulatorPool, PublicProcessorFactory } from '@aztec/simulator/server';
1111
import type { L2Block } from '@aztec/stdlib/block';
1212
import { getEpochAtSlot, getSlotRangeForEpoch } from '@aztec/stdlib/epoch-helpers';
@@ -86,7 +86,7 @@ export async function rerunCheckpointProvingJob(
8686
log: Logger,
8787
config: RerunConfig,
8888
genesis?: GenesisData,
89-
) {
89+
): Promise<CheckpointSubTreeProofs['blockProofOutputs']> {
9090
await using ctx = await createRerunContext(localPath, log, config, genesis);
9191
const { jobData } = ctx;
9292
const checkpointNumber = jobData.checkpoints[0].number;

0 commit comments

Comments
 (0)