[R4R] feat(oracle) #245
lint.yml
on: pull_request
Run golangci-lint
31s
Run markdown-lint
11s
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:2-83` (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:2-34` (dupl)
|
Run golangci-lint:
x/oracle/keeper/query_recent_msg.go#L1
1-56 lines are duplicate of `x/oracle/keeper/query_recent_params.go:2-57` (dupl)
|
Run golangci-lint:
x/oracle/client/cli/query_prices.go#L12
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
x/oracle/client/cli/tx.go#L16
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
x/oracle/keeper/aggregator/aggregator.go#L188
commentFormatting: put a space between `//` and comment text (gocritic)
|
Run golangci-lint:
x/oracle/keeper/aggregator/aggregator.go#L164
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
|
Run golangci-lint:
x/oracle/keeper/aggregator/aggregator.go#L29
`infomation` is a misspelling of `information` (misspell)
|
Run golangci-lint:
x/oracle/keeper/aggregator/aggregator_aggregator.go#L51
`soruce` is a misspelling of `source` (misspell)
|
Run golangci-lint:
x/oracle/keeper/aggregator/aggregator_aggregator.go#L112
`comparision` is a misspelling of `comparison` (misspell)
|
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#L31
var-naming: func parameter roundId should be roundID (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/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_msg.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)
|