Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Wazzymandias committed Oct 3, 2023
1 parent f00de7a commit 8068e43
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion builder/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"context"
"errors"
"fmt"
"github.com/ethereum/go-ethereum/core"
"math/big"
_ "os"
"sync"
"time"

"github.com/ethereum/go-ethereum/core"

bellatrixapi "github.com/attestantio/go-builder-client/api/bellatrix"
capellaapi "github.com/attestantio/go-builder-client/api/capella"
apiv1 "github.com/attestantio/go-builder-client/api/v1"
Expand Down
7 changes: 4 additions & 3 deletions builder/builder_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package builder

import (
"github.com/ethereum/go-ethereum/core"
"math/big"
"testing"
"time"

"github.com/ethereum/go-ethereum/core"

apiv1 "github.com/attestantio/go-builder-client/api/v1"
"github.com/attestantio/go-eth2-client/spec/bellatrix"
"github.com/attestantio/go-eth2-client/spec/phase0"
Expand Down Expand Up @@ -62,7 +63,7 @@ func TestOnPayloadAttributes(t *testing.T) {
ReceiptsRoot: common.Hash{0x08, 0x20},
LogsBloom: types.Bloom{}.Bytes(),
Number: uint64(10),
GasLimit: uint64(expectedGasLimit),
GasLimit: expectedGasLimit,
GasUsed: uint64(100),
Timestamp: uint64(105),
ExtraData: hexutil.MustDecode("0x0042fafc"),
Expand Down Expand Up @@ -117,7 +118,7 @@ func TestOnPayloadAttributes(t *testing.T) {
BuilderPubkey: builder.builderPublicKey,
ProposerPubkey: expectedProposerPubkey,
ProposerFeeRecipient: feeRecipient,
GasLimit: uint64(expectedGasLimit),
GasLimit: expectedGasLimit,
GasUsed: uint64(100),
Value: &uint256.Int{0x0a},
}
Expand Down
3 changes: 2 additions & 1 deletion builder/local_relay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/ethereum/go-ethereum/core"
"math/big"
"net/http"
"net/http/httptest"
"testing"
"time"

"github.com/ethereum/go-ethereum/core"

"github.com/attestantio/go-builder-client/api"
bellatrixapi "github.com/attestantio/go-builder-client/api/bellatrix"
apiv1 "github.com/attestantio/go-builder-client/api/v1"
Expand Down

0 comments on commit 8068e43

Please sign in to comment.