diff --git a/pkg/parser/hashflow/hashflow_test.go b/pkg/parser/hashflow/hashflow_test.go index 7ee50f6..3cf74cb 100644 --- a/pkg/parser/hashflow/hashflow_test.go +++ b/pkg/parser/hashflow/hashflow_test.go @@ -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" @@ -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 = "" diff --git a/pkg/parser/kyberswap_rfq/kyberswap_rfq_test.go b/pkg/parser/kyberswap_rfq/kyberswap_rfq_test.go index b8dc1cf..ef2a1ab 100644 --- a/pkg/parser/kyberswap_rfq/kyberswap_rfq_test.go +++ b/pkg/parser/kyberswap_rfq/kyberswap_rfq_test.go @@ -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 = "" diff --git a/pkg/parser/oneinch/oneinch_test.go b/pkg/parser/oneinch/oneinch_test.go index 15f5588..895d79d 100644 --- a/pkg/parser/oneinch/oneinch_test.go +++ b/pkg/parser/oneinch/oneinch_test.go @@ -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 = "" diff --git a/pkg/parser/paraswap/paraswap_test.go b/pkg/parser/paraswap/paraswap_test.go index 1b1bbf1..d9d9a53 100644 --- a/pkg/parser/paraswap/paraswap_test.go +++ b/pkg/parser/paraswap/paraswap_test.go @@ -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" @@ -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 = "" diff --git a/pkg/parser/zxotc/zxotc_test.go b/pkg/parser/zxotc/zxotc_test.go index 1c28f71..660daef 100644 --- a/pkg/parser/zxotc/zxotc_test.go +++ b/pkg/parser/zxotc/zxotc_test.go @@ -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" @@ -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" )