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)