fix linter errors

This commit is contained in:
Jared Wasinger 2024-10-17 23:21:31 +07:00
parent 98caf5d39e
commit 63805f8758
3 changed files with 6 additions and 3 deletions

View file

@ -19,6 +19,8 @@ package beacon
import ( import (
"errors" "errors"
"fmt" "fmt"
"math/big"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/consensus/misc/eip1559" "github.com/ethereum/go-ethereum/consensus/misc/eip1559"
@ -30,7 +32,6 @@ import (
"github.com/ethereum/go-ethereum/rpc" "github.com/ethereum/go-ethereum/rpc"
"github.com/ethereum/go-ethereum/trie" "github.com/ethereum/go-ethereum/trie"
"github.com/holiman/uint256" "github.com/holiman/uint256"
"math/big"
) )
// Proof-of-stake protocol constants. // Proof-of-stake protocol constants.

View file

@ -20,7 +20,6 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/ethereum/go-ethereum/common/math"
"io" "io"
"math/big" "math/big"
"net/http" "net/http"
@ -28,6 +27,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/consensus" "github.com/ethereum/go-ethereum/consensus"
"github.com/ethereum/go-ethereum/consensus/beacon" "github.com/ethereum/go-ethereum/consensus/beacon"

View file

@ -18,9 +18,10 @@ package params
import ( import (
"fmt" "fmt"
"github.com/ethereum/go-ethereum/common/math"
"math/big" "math/big"
"github.com/ethereum/go-ethereum/common/math"
"github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/params/forks" "github.com/ethereum/go-ethereum/params/forks"
) )