Skip to content

11577 party stats api #18190

11577 party stats api

11577 party stats api #18190

Triggered via pull request August 19, 2024 16:11
Status Failure
Total duration 3m 45s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
lint: datanode/api/errors_test.go#L1
: # code.vegaprotocol.io/vega/datanode/api_test [code.vegaprotocol.io/vega/datanode/api.test]
lint: datanode/api/trading_data_v2_test.go#L1300
cannot use marketStore (variable of type *"code.vegaprotocol.io/vega/datanode/service/mocks".MockMarketStore) as "code.vegaprotocol.io/vega/datanode/service".MarketStore value in argument to service.NewMarkets: *"code.vegaprotocol.io/vega/datanode/service/mocks".MockMarketStore does not implement "code.vegaprotocol.io/vega/datanode/service".MarketStore (missing method GetByIDs)
lint: datanode/api/trading_data_v2_test.go#L1381
cannot use marketStore (variable of type *"code.vegaprotocol.io/vega/datanode/service/mocks".MockMarketStore) as "code.vegaprotocol.io/vega/datanode/service".MarketStore value in argument to service.NewMarkets: *"code.vegaprotocol.io/vega/datanode/service/mocks".MockMarketStore does not implement "code.vegaprotocol.io/vega/datanode/service".MarketStore (missing method GetByIDs) (typecheck)
lint: datanode/gateway/graphql/resolvers_test.go#L1
: # code.vegaprotocol.io/vega/datanode/gateway/graphql_test [code.vegaprotocol.io/vega/datanode/gateway/graphql.test]
lint: datanode/gateway/graphql/resolvers_test.go#L1380
cannot use tradingDataClientV2 (variable of type *mocks.MockTradingDataServiceClientV2) as gql.TradingDataServiceClientV2 value in argument to gql.NewResolverRoot: *mocks.MockTradingDataServiceClientV2 does not implement gql.TradingDataServiceClientV2 (missing method GetPartyDiscountStats) (typecheck)
lint: datanode/service/accounts_test.go#L1
: # code.vegaprotocol.io/vega/datanode/service_test [code.vegaprotocol.io/vega/datanode/service.test]
lint: datanode/service/market_depth_amm_test.go#L59
cannot use markets (variable of type *mocks.MockMarketStore) as service.MarketStore value in argument to service.NewMarketDepth: *mocks.MockMarketStore does not implement service.MarketStore (missing method GetByIDs)
lint: datanode/service/market_depth_test.go#L59
cannot use markets (variable of type *mocks.MockMarketStore) as service.MarketStore value in argument to service.NewMarketDepth: *mocks.MockMarketStore does not implement service.MarketStore (missing method GetByIDs) (typecheck)
lint
issues found
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3.7.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/vega/vega. Supported file pattern: go.sum