chore_: make lint-fix (#5871)
This commit is contained in:
parent
dd994587a3
commit
77ef8f1fb7
|
@ -12,10 +12,11 @@ package mock_contracts
|
|||
import (
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
ethscan "github.com/status-im/status-go/contracts/ethscan"
|
||||
ierc20 "github.com/status-im/status-go/contracts/ierc20"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockContractMakerIface is a mock of ContractMakerIface interface.
|
||||
|
|
|
@ -14,10 +14,11 @@ import (
|
|||
json "encoding/json"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
types "github.com/status-im/status-go/eth-node/types"
|
||||
settings "github.com/status-im/status-go/multiaccounts/settings"
|
||||
params "github.com/status-im/status-go/params"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockDatabaseSettingsManager is a mock of DatabaseSettingsManager interface.
|
||||
|
|
|
@ -14,13 +14,14 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
ethereum "github.com/ethereum/go-ethereum"
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
types "github.com/ethereum/go-ethereum/core/types"
|
||||
rpc "github.com/ethereum/go-ethereum/rpc"
|
||||
circuitbreaker "github.com/status-im/status-go/circuitbreaker"
|
||||
rpclimiter "github.com/status-im/status-go/rpc/chain/rpclimiter"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockClientInterface is a mock of ClientInterface interface.
|
||||
|
|
|
@ -14,11 +14,12 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
ethereum "github.com/ethereum/go-ethereum"
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
types "github.com/ethereum/go-ethereum/core/types"
|
||||
rpc "github.com/ethereum/go-ethereum/rpc"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockChainReader is a mock of ChainReader interface.
|
||||
|
|
|
@ -14,13 +14,14 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
ethereum "github.com/ethereum/go-ethereum"
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
types "github.com/ethereum/go-ethereum/core/types"
|
||||
rpc "github.com/ethereum/go-ethereum/rpc"
|
||||
ethclient "github.com/status-im/status-go/rpc/chain/ethclient"
|
||||
rpclimiter "github.com/status-im/status-go/rpc/chain/rpclimiter"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockRPSLimitedEthClientInterface is a mock of RPSLimitedEthClientInterface interface.
|
||||
|
|
|
@ -13,11 +13,12 @@ import (
|
|||
context "context"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
chain "github.com/status-im/status-go/rpc/chain"
|
||||
ethclient "github.com/status-im/status-go/rpc/chain/ethclient"
|
||||
network "github.com/status-im/status-go/rpc/network"
|
||||
common "github.com/status-im/status-go/services/wallet/common"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockClientInterface is a mock of ClientInterface interface.
|
||||
|
|
|
@ -12,8 +12,9 @@ package mock_network
|
|||
import (
|
||||
reflect "reflect"
|
||||
|
||||
params "github.com/status-im/status-go/params"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
params "github.com/status-im/status-go/params"
|
||||
)
|
||||
|
||||
// MockManagerInterface is a mock of ManagerInterface interface.
|
||||
|
|
|
@ -12,8 +12,9 @@ package mock_collectibles
|
|||
import (
|
||||
reflect "reflect"
|
||||
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
)
|
||||
|
||||
// MockCollectibleDataStorage is a mock of CollectibleDataStorage interface.
|
||||
|
|
|
@ -12,8 +12,9 @@ package mock_collectibles
|
|||
import (
|
||||
reflect "reflect"
|
||||
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
)
|
||||
|
||||
// MockCollectionDataStorage is a mock of CollectionDataStorage interface.
|
||||
|
|
|
@ -13,8 +13,9 @@ import (
|
|||
context "context"
|
||||
reflect "reflect"
|
||||
|
||||
onramp "github.com/status-im/status-go/services/wallet/onramp"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
onramp "github.com/status-im/status-go/services/wallet/onramp"
|
||||
)
|
||||
|
||||
// MockProvider is a mock of Provider interface.
|
||||
|
|
|
@ -13,12 +13,13 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
types "github.com/ethereum/go-ethereum/core/types"
|
||||
account "github.com/status-im/status-go/account"
|
||||
types0 "github.com/status-im/status-go/eth-node/types"
|
||||
pathprocessor "github.com/status-im/status-go/services/wallet/router/pathprocessor"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockPathProcessor is a mock of PathProcessor interface.
|
||||
|
|
|
@ -13,10 +13,11 @@ import (
|
|||
context "context"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
common0 "github.com/status-im/status-go/services/wallet/common"
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockCollectibleProvider is a mock of CollectibleProvider interface.
|
||||
|
|
|
@ -12,8 +12,9 @@ package mock_thirdparty
|
|||
import (
|
||||
reflect "reflect"
|
||||
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
thirdparty "github.com/status-im/status-go/services/wallet/thirdparty"
|
||||
)
|
||||
|
||||
// MockMarketDataProvider is a mock of MarketDataProvider interface.
|
||||
|
|
|
@ -15,9 +15,10 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
paraswap "github.com/status-im/status-go/services/wallet/thirdparty/paraswap"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockClientInterface is a mock of ClientInterface interface.
|
||||
|
|
|
@ -12,9 +12,10 @@ package mock_balance_persistence
|
|||
import (
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
token "github.com/status-im/status-go/services/wallet/token"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockTokenBalancesStorage is a mock of TokenBalancesStorage interface.
|
||||
|
|
|
@ -14,11 +14,12 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
hexutil "github.com/ethereum/go-ethereum/common/hexutil"
|
||||
chain "github.com/status-im/status-go/rpc/chain"
|
||||
token "github.com/status-im/status-go/services/wallet/token"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockManagerInterface is a mock of ManagerInterface interface.
|
||||
|
|
|
@ -16,9 +16,10 @@ import (
|
|||
"github.com/status-im/status-go/protocol/transport"
|
||||
"github.com/status-im/status-go/wakuv2"
|
||||
|
||||
v1protocol "github.com/status-im/status-go/protocol/v1"
|
||||
wps "github.com/waku-org/go-waku/waku/v2/peerstore"
|
||||
v2protocol "github.com/waku-org/go-waku/waku/v2/protocol"
|
||||
|
||||
v1protocol "github.com/status-im/status-go/protocol/v1"
|
||||
)
|
||||
|
||||
type TelemetryType string
|
||||
|
|
|
@ -13,10 +13,11 @@ import (
|
|||
context "context"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
hexutil "github.com/ethereum/go-ethereum/common/hexutil"
|
||||
rpc "github.com/ethereum/go-ethereum/rpc"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockPublicTransactionPoolAPI is a mock of PublicTransactionPoolAPI interface.
|
||||
|
|
|
@ -13,6 +13,8 @@ import (
|
|||
big "math/big"
|
||||
reflect "reflect"
|
||||
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
|
||||
common "github.com/ethereum/go-ethereum/common"
|
||||
types "github.com/ethereum/go-ethereum/core/types"
|
||||
account "github.com/status-im/status-go/account"
|
||||
|
@ -21,7 +23,6 @@ import (
|
|||
rpc "github.com/status-im/status-go/rpc"
|
||||
common0 "github.com/status-im/status-go/services/wallet/common"
|
||||
transactions "github.com/status-im/status-go/transactions"
|
||||
gomock "go.uber.org/mock/gomock"
|
||||
)
|
||||
|
||||
// MockTransactorIface is a mock of TransactorIface interface.
|
||||
|
|
Loading…
Reference in New Issue