refactor: Provider Ticker Interface (PR1) #2113
Annotations
15 errors and 12 warnings
govulncheck:
x/marketmap/types/market_test.go#L155
cannot use constants.BITCOIN_USD (variable of type "github.com/skip-mev/slinky/pkg/types".CurrencyPair) as "github.com/skip-mev/slinky/x/marketmap/types".Ticker value in map literal
|
govulncheck:
x/marketmap/types/market_test.go#L185
cannot use constants.BITCOIN_USD (variable of type "github.com/skip-mev/slinky/pkg/types".CurrencyPair) as "github.com/skip-mev/slinky/x/marketmap/types".Ticker value in map literal
|
govulncheck:
x/marketmap/types/market_test.go#L204
cannot use constants.BITCOIN_USD (variable of type "github.com/skip-mev/slinky/pkg/types".CurrencyPair) as "github.com/skip-mev/slinky/x/marketmap/types".Ticker value in map literal
|
govulncheck:
x/marketmap/types/market_test.go#L212
constants.BITCOIN_USD.CurrencyPair undefined (type "github.com/skip-mev/slinky/pkg/types".CurrencyPair has no field or method CurrencyPair)
|
govulncheck:
x/marketmap/types/market_test.go#L216
constants.BITCOIN_USD.CurrencyPair undefined (type "github.com/skip-mev/slinky/pkg/types".CurrencyPair has no field or method CurrencyPair)
|
govulncheck:
x/marketmap/types/market_test.go#L220
constants.BITCOIN_USD.CurrencyPair undefined (type "github.com/skip-mev/slinky/pkg/types".CurrencyPair has no field or method CurrencyPair)
|
govulncheck:
x/marketmap/types/market_test.go#L236
cannot use constants.BITCOIN_USD (variable of type "github.com/skip-mev/slinky/pkg/types".CurrencyPair) as "github.com/skip-mev/slinky/x/marketmap/types".Ticker value in map literal
|
govulncheck:
x/marketmap/types/market_test.go#L244
constants.BITCOIN_USDT.CurrencyPair undefined (type "github.com/skip-mev/slinky/pkg/types".CurrencyPair has no field or method CurrencyPair)
|
govulncheck:
x/marketmap/types/market_test.go#L260
cannot use constants.BITCOIN_USD (variable of type "github.com/skip-mev/slinky/pkg/types".CurrencyPair) as "github.com/skip-mev/slinky/x/marketmap/types".Ticker value in map literal
|
govulncheck:
x/marketmap/types/market_test.go#L268
constants.BITCOIN_USD.CurrencyPair undefined (type "github.com/skip-mev/slinky/pkg/types".CurrencyPair has no field or method CurrencyPair)
|
golangci-lint:
oracle/types/market.go#L58
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
providers/websockets/coinbase/ws_data_handler.go#L113
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
oracle/types/oracle.go#L99
`cannonical` is a misspelling of `canonical` (misspell)
|
golangci-lint:
providers/apis/dydx/parse.go#L143
Consider pre-allocating `providers` (prealloc)
|
golangci-lint
issues found
|
govulncheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/slinky/slinky. Supported file pattern: go.sum
|
golangci-lint:
providers/websockets/cryptodotcom/ws_data_handler_test.go#L22
var-naming: don't use underscores in Go names; var btc_usd should be btcUsd (revive)
|
golangci-lint:
providers/websockets/cryptodotcom/ws_data_handler_test.go#L23
var-naming: don't use underscores in Go names; var eth_usd should be ethUsd (revive)
|
golangci-lint:
providers/websockets/cryptodotcom/ws_data_handler_test.go#L24
var-naming: don't use underscores in Go names; var sol_usd should be solUsd (revive)
|
golangci-lint:
providers/apis/geckoterminal/api_handler_test.go#L20
var-naming: don't use underscores in Go names; var mog_usd should be mogUsd (revive)
|
golangci-lint:
providers/apis/geckoterminal/api_handler_test.go#L21
var-naming: don't use underscores in Go names; var pepe_usd should be pepeUsd (revive)
|
golangci-lint:
providers/websockets/bybit/ws_data_hander_test.go#L18
var-naming: don't use underscores in Go names; var btc_usdt should be btcUsdt (revive)
|
golangci-lint:
providers/websockets/bybit/ws_data_hander_test.go#L19
var-naming: don't use underscores in Go names; var eth_usdt should be ethUsdt (revive)
|
golangci-lint:
providers/websockets/mexc/ws_data_handler_test.go#L19
var-naming: don't use underscores in Go names; var btc_usdt should be btcUsdt (revive)
|
golangci-lint:
providers/websockets/mexc/ws_data_handler_test.go#L20
var-naming: don't use underscores in Go names; var eth_usdt should be ethUsdt (revive)
|
golangci-lint:
providers/websockets/mexc/ws_data_handler_test.go#L21
var-naming: don't use underscores in Go names; var atom_usdc should be atomUsdc (revive)
|