Skip to content

Commit

Permalink
Fixed linter
Browse files Browse the repository at this point in the history
  • Loading branch information
begmaroman committed Jun 20, 2024
1 parent 3ddb6a4 commit 9398f21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions synchronizer/batches_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package synchronizer

import (
"context"
"errors"
"math/big"
"strings"
Expand Down Expand Up @@ -356,7 +357,7 @@ func TestBatchSynchronizer_HandleEvent(t *testing.T) {
client: ethermanMock,
}

err := batchSynronizer.handleEvent(event)
err := batchSynronizer.handleEvent(context.Background(), event)
if config.isErrorExpected {
require.Error(t, err)
} else {
Expand Down Expand Up @@ -624,7 +625,7 @@ func TestBatchSynchronizer_HandleUnresolvedBatches(t *testing.T) {
sequencer: sequencerMock,
}

err := batchSynronizer.handleUnresolvedBatches()
err := batchSynronizer.handleUnresolvedBatches(context.Background())
if config.isErrorExpected {
require.Error(t, err)
} else {
Expand Down Expand Up @@ -868,7 +869,7 @@ func TestBatchSyncronizer_HandleReorgs(t *testing.T) {
reorgs: reorgChan,
}

go batchSynchronizer.handleReorgs()
go batchSynchronizer.handleReorgs(context.Background())

reorgChan <- config.reorg

Expand Down

0 comments on commit 9398f21

Please sign in to comment.