From 3af6fa6a3d2c93235bce3e2fb660c530b91ad9be Mon Sep 17 00:00:00 2001 From: LHerskind Date: Fri, 30 Jun 2023 18:10:37 +0000 Subject: [PATCH] fix: update timestamp in integration test --- yarn-project/end-to-end/src/integration_l1_publisher.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yarn-project/end-to-end/src/integration_l1_publisher.test.ts b/yarn-project/end-to-end/src/integration_l1_publisher.test.ts index 21586fa5ee13..fac0fdb7d00d 100644 --- a/yarn-project/end-to-end/src/integration_l1_publisher.test.ts +++ b/yarn-project/end-to-end/src/integration_l1_publisher.test.ts @@ -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); @@ -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);