[R4R] feat(oracle) #234
lint.yml
on: pull_request
Run golangci-lint
3m 31s
Run markdown-lint
12s
Annotations
10 errors and 12 warnings
Run golangci-lint:
x/oracle/client/cli/query_recent_msg.go#L1
1-82 lines are duplicate of `x/oracle/client/cli/query_recent_params.go:1-82` (dupl)
|
Run golangci-lint:
x/oracle/client/cli/query_recent_params.go#L1
1-82 lines are duplicate of `x/oracle/client/cli/query_recent_msg.go:1-82` (dupl)
|
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 golangci-lint:
x/oracle/keeper/single.go#L94
Error return value of `agc.FillPrice` is not checked (errcheck)
|
Run golangci-lint:
testutil/keeper/oracle.go#L51
Error return value of `k.SetParams` 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/client/cli/query_index_recent_params.go#L16
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/oracle/client/cli/query_recent_params.go#L16
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/oracle/client/cli/query_validator_update_block.go#L16
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (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)
|