From 074ca4ed61ab180a9097e367e8320af1bc82660f Mon Sep 17 00:00:00 2001 From: Sri Kidambi <1702865+kidambisrinivas@users.noreply.github.com> Date: Mon, 30 Sep 2024 17:28:22 +0100 Subject: [PATCH] Minor change --- core/capabilities/testutils/backend.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/capabilities/testutils/backend.go b/core/capabilities/testutils/backend.go index f41bcc6838d..ce5452396b3 100644 --- a/core/capabilities/testutils/backend.go +++ b/core/capabilities/testutils/backend.go @@ -56,8 +56,10 @@ func NewEVMBackendTH(t *testing.T) *EVMBackendTH { contractsOwner.From: {Balance: assets.Ether(100000).ToInt()}, } chainID := testutils.SimulatedChainID + // nolint gasLimit := uint32(ethconfig.Defaults.Miner.GasCeil) backend := cltest.NewSimulatedBackend(t, genesisData, gasLimit) + // nolint blockTime := time.UnixMilli(int64(backend.Blockchain().CurrentHeader().Time)) err = backend.AdjustTime(time.Since(blockTime) - 24*time.Hour) require.NoError(t, err)