From 762ec7db4b45142717a8d3db11c4eb75a3af3803 Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Sat, 14 Dec 2024 01:06:51 +0000 Subject: [PATCH] Remove additional workarounds --- test/Dataworker.loadData.slowFill.ts | 2 -- test/Relayer.SlowFill.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/test/Dataworker.loadData.slowFill.ts b/test/Dataworker.loadData.slowFill.ts index 1fb54e715..926c9e873 100644 --- a/test/Dataworker.loadData.slowFill.ts +++ b/test/Dataworker.loadData.slowFill.ts @@ -321,8 +321,6 @@ describe("BundleDataClient: Slow fill handling & validation", async function () const destinationChainDeposit = spokePoolClient_2.getDeposits()[0]; // Generate slow fill requests for the slow fill-eligible deposits - await spokePool_1.setCurrentTime(depositsWithSlowFillRequests[1].exclusivityDeadline + 1); // Temporary workaround - await spokePool_2.setCurrentTime(depositsWithSlowFillRequests[0].exclusivityDeadline + 1); // Temporary workaround await requestSlowFill(spokePool_2, relayer, depositsWithSlowFillRequests[0]); await requestSlowFill(spokePool_1, relayer, depositsWithSlowFillRequests[1]); const lastDestinationChainSlowFillRequestBlock = await spokePool_2.provider.getBlockNumber(); diff --git a/test/Relayer.SlowFill.ts b/test/Relayer.SlowFill.ts index 15e4d305a..008559a1b 100644 --- a/test/Relayer.SlowFill.ts +++ b/test/Relayer.SlowFill.ts @@ -209,7 +209,6 @@ describe("Relayer: Initiates slow fill requests", async function () { ); expect(deposit).to.exist; - await spokePool_2.setCurrentTime(deposit.exclusivityDeadline + 1); // Temporary workaround await updateAllClients(); const _txnReceipts = await relayerInstance.checkForUnfilledDepositsAndFill(); const txnHashes = await _txnReceipts[destinationChainId];