[R4R] feat(oracle) #145
lint.yml
on: pull_request
Run golangci-lint
5m 32s
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: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/prices.go#L94
Error return value of `k.cdc.Unmarshal` is not checked (errcheck)
|
Run golangci-lint:
x/oracle/keeper/prices.go#L112
Error return value of `k.IncreaseNextRoundId` is not checked (errcheck)
|
Run golangci-lint:
x/oracle/keeper/prices.go#L125
Error return value of `k.cdc.Unmarshal` 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 PricesNextRountIdKey should be PricesNextRountIDKey (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_recent_msg.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_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.go#L17
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci-lint:
x/oracle/client/cli/query_prices.go#L61
var-naming: var argTokenId should be argTokenID (revive)
|
Run golangci-lint:
x/oracle/keeper/common/types.go#L16
var-naming: don't use underscores in Go names; const Threshold_a should be ThresholdA (revive)
|