chore_: make lint-fix (#5871)

This commit is contained in:
Igor Sirotin 2024-09-24 14:52:29 +01:00 committed by GitHub
parent dd994587a3
commit 77ef8f1fb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 38 additions and 19 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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.

View File

@ -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.