Skip to content

Commit

Permalink
chore: lint import
Browse files Browse the repository at this point in the history
  • Loading branch information
vaigay committed Aug 28, 2024
1 parent 3f252c3 commit f601452
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
5 changes: 3 additions & 2 deletions pkg/parser/hashflow/hashflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package hashflow
import (
"context"
"encoding/json"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
"math/big"
"strings"
"testing"
Expand All @@ -15,6 +13,9 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/stretchr/testify/require"

tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
)

const rpcURL = ""
Expand Down
10 changes: 6 additions & 4 deletions pkg/parser/kyberswap_rfq/kyberswap_rfq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ package kyberswaprfq
import (
"context"
"encoding/json"
"strings"
"testing"

"github.com/KyberNetwork/tradelogs/pkg/storage"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/stretchr/testify/require"
"strings"
"testing"

tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
)

const rpcURL = ""
Expand Down
12 changes: 6 additions & 6 deletions pkg/parser/oneinch/oneinch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@ package oneinch
import (
"context"
"encoding/json"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
"math/big"
"strings"
"testing"
"time"

"github.com/KyberNetwork/tradelogs/pkg/storage"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"

"github.com/KyberNetwork/tradelogs/pkg/rpcnode"
"github.com/KyberNetwork/tradelogs/pkg/tracecall"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/stretchr/testify/require"

"github.com/KyberNetwork/tradelogs/pkg/rpcnode"
"github.com/KyberNetwork/tradelogs/pkg/storage"
"github.com/KyberNetwork/tradelogs/pkg/tracecall"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
)

const rpcURL = ""
Expand Down
7 changes: 4 additions & 3 deletions pkg/parser/paraswap/paraswap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ package paraswap
import (
"context"
"encoding/json"
"github.com/KyberNetwork/tradelogs/pkg/storage"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
"math/big"
"strings"
"testing"
Expand All @@ -16,6 +13,10 @@ import (
"github.com/ethereum/go-ethereum/core/types"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/stretchr/testify/require"

"github.com/KyberNetwork/tradelogs/pkg/storage"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
)

const rpcURL = ""
Expand Down
4 changes: 2 additions & 2 deletions pkg/parser/zxotc/zxotc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ package zxotc
import (
"context"
"encoding/json"
"github.com/KyberNetwork/tradelogs/pkg/storage"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
"math/big"
"strings"
"testing"
Expand All @@ -16,6 +14,8 @@ import (
"github.com/ethereum/go-ethereum/ethclient"
"github.com/stretchr/testify/require"

"github.com/KyberNetwork/tradelogs/pkg/storage"
tradelogstype "github.com/KyberNetwork/tradelogs/pkg/types"
tradingTypes "github.com/KyberNetwork/tradinglib/pkg/types"
)

Expand Down

0 comments on commit f601452

Please sign in to comment.