[R4R] feat(oracle) #195
Annotations
10 errors and 11 warnings
Run golangci/golangci-lint-action@v4:
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/golangci-lint-action@v4:
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/golangci-lint-action@v4:
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/golangci-lint-action@v4:
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/golangci-lint-action@v4:
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/golangci-lint-action@v4:
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/golangci-lint-action@v4:
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/golangci-lint-action@v4:
x/oracle/keeper/prices.go#L94
Error return value of `k.cdc.Unmarshal` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v4:
x/oracle/keeper/prices.go#L112
Error return value of `k.IncreaseNextRoundId` is not checked (errcheck)
|
Run golangci/golangci-lint-action@v4:
x/oracle/keeper/prices.go#L125
Error return value of `k.cdc.Unmarshal` is not checked (errcheck)
|
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/golangci-lint-action@v4:
x/oracle/types/key_prices.go#L13
var-naming: var PricesNextRountIdKey should be PricesNextRountIDKey (revive)
|
Run golangci/golangci-lint-action@v4:
x/oracle/types/key_prices.go#L18
var-naming: func parameter tokenId should be tokenID (revive)
|
Run golangci/golangci-lint-action@v4:
x/oracle/types/key_prices.go#L22
var-naming: var tokenIdBytes should be tokenIDBytes (revive)
|
Run golangci/golangci-lint-action@v4:
x/oracle/types/key_prices.go#L32
var-naming: func parameter roundId should be roundID (revive)
|
Run golangci/golangci-lint-action@v4:
x/oracle/client/cli/tx_create_price.go#L20
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v4:
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/golangci-lint-action@v4:
x/oracle/client/cli/query.go#L17
unused-parameter: parameter 'queryRoute' seems to be unused, consider removing or renaming it as _ (revive)
|
Run golangci/golangci-lint-action@v4:
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/golangci-lint-action@v4:
x/oracle/client/cli/query_prices.go#L61
var-naming: var argTokenId should be argTokenID (revive)
|
Run golangci/golangci-lint-action@v4:
x/oracle/keeper/common/types.go#L16
var-naming: don't use underscores in Go names; const Threshold_a should be ThresholdA (revive)
|
The logs for this run have expired and are no longer available.
Loading