Skip to content

Commit 3a8276d

Browse files
committed
fix(prover-node): restore publisher transaction assertions
1 parent b00dd42 commit 3a8276d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ describe('prover-node-publisher', () => {
205205
publisher = new ProverNodePublisher(config, { rollupContract: rollup, l1TxUtils: l1Utils });
206206

207207
await publisher.submitEpochProof(setupPublishData(65, 32, 33, 64));
208-
expect(l1Utils.sendAndMonitorTransaction).toHaveBeenCalledWith(expect.objectContaining({ to: rollupAddress }));
208+
expect(l1Utils.sendAndMonitorTransaction).toHaveBeenCalledWith(
209+
expect.objectContaining({ to: rollupAddress }),
210+
expect.anything(),
211+
);
209212
});
210213

211214
it('redirects the submit tx to the configured proof submission target', async () => {
@@ -220,6 +223,7 @@ describe('prover-node-publisher', () => {
220223
await publisher.submitEpochProof(setupPublishData(65, 32, 33, 64));
221224
expect(l1Utils.sendAndMonitorTransaction).toHaveBeenCalledWith(
222225
expect.objectContaining({ to: target.toString() }),
226+
expect.anything(),
223227
);
224228
});
225229
});

0 commit comments

Comments
 (0)