Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
poopoothegorilla committed Mar 21, 2024
1 parent 94b9c6b commit 23dbf19
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/chains/evm/txmgr/evm_inmemory_store_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package txmgr_test

import (
"context"
"math/big"
"testing"

Expand Down Expand Up @@ -33,7 +32,7 @@ func TestInMemoryStore_Abandon(t *testing.T) {
ethClient := evmtest.NewEthClientMockWithDefaultChain(t)
lggr := logger.TestSugared(t)
chainID := ethClient.ConfiguredChainID()
ctx := context.Background()
ctx := testutils.Context(t)

inMemoryStore, err := commontxmgr.NewInMemoryStore[
*big.Int,
Expand All @@ -54,8 +53,8 @@ func TestInMemoryStore_Abandon(t *testing.T) {
require.NoError(t, inMemoryStore.XXXTestInsertTx(fromAddress, &inTx))
}

actErr := inMemoryStore.Abandon(testutils.Context(t), chainID, fromAddress)
expErr := persistentStore.Abandon(testutils.Context(t), chainID, fromAddress)
actErr := inMemoryStore.Abandon(ctx, chainID, fromAddress)
expErr := persistentStore.Abandon(ctx, chainID, fromAddress)
require.NoError(t, actErr)
require.NoError(t, expErr)

Expand Down

0 comments on commit 23dbf19

Please sign in to comment.