Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
datluongductuan committed Apr 9, 2024
1 parent 92107a3 commit 2f6c7b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/mev/bundle_sender_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ func Test_SimulateBundle(t *testing.T) {
require.NoError(t, err)
gasBundleEstimator := mev.NewGasBundleEstimator(ethClient)

client, err := mev.NewClient(http.DefaultClient, simulationEndpoint, nil, false, mev.BundleSenderTypeFlashbot, gasBundleEstimator)
client, err := mev.NewClient(http.DefaultClient,
simulationEndpoint, nil, false,
mev.BundleSenderTypeFlashbot, gasBundleEstimator)
require.NoError(t, err)

simulationResponse, err := client.SimulateBundle(context.Background(), uint64(blockNumber), txs...)
Expand Down
1 change: 1 addition & 0 deletions pkg/mev/gas_bundle_estimator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package mev

import (
"context"

"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
Expand Down

0 comments on commit 2f6c7b5

Please sign in to comment.