Skip to content

[R4R] feat(oracle) #246

[R4R] feat(oracle)

[R4R] feat(oracle) #246

Triggered via pull request April 17, 2024 05:12
Status Failure
Total duration 38s
Artifacts

lint.yml

on: pull_request
Run golangci-lint
28s
Run golangci-lint
Run markdown-lint
10s
Run markdown-lint
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Run golangci-lint
issues found
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/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_params.go#L17
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/oracle/keeper/aggregator/aggregator.go#L143
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/oracle/keeper/aggregator/aggregator.go#L30
exported: type name will be used as aggregator.AggregatorContext by other packages, and that stutters; consider calling this Context (revive)
Run golangci-lint: x/oracle/keeper/aggregator/aggregator.go#L110
unexported-return: exported method FillPrice returns unexported type *aggregator.priceItemKV, which can be annoying to use (revive)
Run golangci-lint: x/oracle/keeper/aggregator/aggregator.go#L155
unexported-return: exported method SealRound returns unexported type []*aggregator.priceItemKV, which can be annoying to use (revive)
Run golangci-lint: x/oracle/keeper/query_recent_msg.go#L26
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/oracle/keeper/query_recent_params.go#L26
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
Run golangci-lint: x/oracle/module.go#L67
unused-parameter: parameter 'config' seems to be unused, consider removing or renaming it as _ (revive)