Skip to content

Commit b00dd42

Browse files
committed
Fixed build
1 parent 942264f commit b00dd42

2 files changed

Lines changed: 1 addition & 29 deletions

File tree

yarn-project/prover-node/src/prover-node-publisher.test.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -224,35 +224,6 @@ describe('prover-node-publisher', () => {
224224
});
225225
});
226226

227-
it('waits until the proven checkpoint reaches the checkpoint before the proof start', async () => {
228-
const checkpoints = Array.from({ length: 100 }, () => RootRollupPublicInputs.random());
229-
const fromCheckpoint = CheckpointNumber(33);
230-
const toCheckpoint = CheckpointNumber(64);
231-
232-
await publisher.submitEpochProof(setupPublishData(65, 32, 33, 64));
233-
expect(l1Utils.sendAndMonitorTransaction).toHaveBeenCalledWith(
234-
expect.objectContaining({ to: rollupAddress }),
235-
expect.anything(),
236-
);
237-
});
238-
239-
it('redirects the submit tx to the configured proof submission target', async () => {
240-
(rollup as any).address = EthAddress.random().toString();
241-
const target = EthAddress.random();
242-
publisher = new ProverNodePublisher(config, {
243-
rollupContract: rollup,
244-
l1TxUtils: l1Utils,
245-
proofSubmissionTarget: target,
246-
});
247-
248-
await publisher.submitEpochProof(setupPublishData(65, 32, 33, 64));
249-
expect(l1Utils.sendAndMonitorTransaction).toHaveBeenCalledWith(
250-
expect.objectContaining({ to: target.toString() }),
251-
expect.anything(),
252-
);
253-
});
254-
});
255-
256227
it('analyzeEpochProofSubmission validates, estimates, and does not send tx', async () => {
257228
const fromCheckpoint = 33;
258229
const toCheckpoint = 64;

yarn-project/validator-client/src/checkpoint_builder.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,7 @@ describe('FullNodeCheckpointsBuilder', () => {
808808
worldState,
809809
mock<ContractDataSource>(),
810810
new TestDateProvider(),
811+
mock<AvmSimulator>(),
811812
telemetryClient,
812813
);
813814
});

0 commit comments

Comments
 (0)