Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
kidambisrinivas committed Sep 30, 2024
1 parent 6e452f7 commit 074ca4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/capabilities/testutils/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 074ca4e

Please sign in to comment.