[R4R] feat(oracle) #233
lint.yml
on: pull_request
Run golangci-lint
3m 15s
Run markdown-lint
13s
Annotations
10 errors and 12 warnings
Run golangci-lint:
x/oracle/client/cli/query.go#L1
: # github.com/ExocoreNetwork/exocore/x/oracle/client/cli
|
Run golangci-lint:
x/oracle/client/cli/tx_create_price.go#L28
not enough arguments in call to types.NewMsgCreatePrice
|
Run golangci-lint:
x/oracle/module.go#L15
could not import github.com/ExocoreNetwork/exocore/x/oracle/client/cli (-: # github.com/ExocoreNetwork/exocore/x/oracle/client/cli
|
Run golangci-lint:
x/oracle/client/cli/tx_create_price.go#L28
not enough arguments in call to types.NewMsgCreatePrice
|
Run golangci-lint:
x/oracle/keeper/index_recent_msg.go#L1
1-33 lines are duplicate of `x/oracle/keeper/index_recent_params.go:1-33` (dupl)
|
Run golangci-lint:
x/oracle/keeper/index_recent_params.go#L1
1-33 lines are duplicate of `x/oracle/keeper/validator_update_block.go:1-33` (dupl)
|
Run golangci-lint:
x/oracle/keeper/validator_update_block.go#L1
1-33 lines are duplicate of `x/oracle/keeper/index_recent_msg.go:1-33` (dupl)
|
Run golangci-lint:
x/oracle/keeper/query_recent_msg.go#L1
1-57 lines are duplicate of `x/oracle/keeper/query_recent_params.go:1-57` (dupl)
|
Run golangci-lint:
x/oracle/keeper/query_recent_params.go#L1
1-57 lines are duplicate of `x/oracle/keeper/query_recent_msg.go:1-57` (dupl)
|
Run golangci-lint:
x/oracle/keeper/single.go#L37
Error return value is not checked (errcheck)
|
Run markdown-lint
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/.
|
Run golangci-lint
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/.
|
Run golangci-lint:
x/oracle/types/key_prices.go#L13
var-naming: var PricesNextRoundIdKey should be PricesNextRoundIDKey (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L18
var-naming: func parameter tokenId should be tokenID (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L22
var-naming: var tokenIdBytes should be tokenIDBytes (revive)
|
Run golangci-lint:
x/oracle/types/key_prices.go#L32
var-naming: func parameter roundId should be roundID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L21
var-naming: const MaxDetId should be MaxDetID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L33
var-naming: method parameter sourceId should be sourceID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L37
var-naming: method parameter sourceId should be sourceID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L45
var-naming: method parameter feederId should be feederID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L53
var-naming: method parameter feederId should be feederID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L62
var-naming: method parameter feederId should be feederID (revive)
|