Skip to content

Commit

Permalink
fix: update timestamp in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Jun 30, 2023
1 parent ccfda85 commit 3af6fa6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions yarn-project/end-to-end/src/integration_l1_publisher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,11 @@ describe('L1Publisher integration', () => {
await makeBloatedProcessedTx(128 * i + 96),
await makeBloatedProcessedTx(128 * i + 128),
];
// @todo @LHerskind fix time.
const globalVariables = new GlobalVariables(
new Fr(config.chainId),
new Fr(config.version),
new Fr(1 + i),
Fr.ZERO,
new Fr(await rollup.read.lastBlockTs()),
);
const [block] = await builder.buildL2Block(globalVariables, txs, l1ToL2Messages);

Expand Down Expand Up @@ -363,7 +362,7 @@ describe('L1Publisher integration', () => {
new Fr(config.chainId),
new Fr(config.version),
new Fr(1 + i),
Fr.ZERO,
new Fr(await rollup.read.lastBlockTs()),
);
const [block] = await builder.buildL2Block(globalVariables, txs, l1ToL2Messages);

Expand Down

0 comments on commit 3af6fa6

Please sign in to comment.