Skip to content

refactor mercury

refactor mercury #331

Triggered via pull request November 16, 2023 17:04
Status Failure
Total duration 1m 1s
Artifacts 1

ci-chaincli.yml

on: pull_request
chaincli-lint
53s
chaincli-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
chaincli-lint: core/scripts/chaincli/handler/scrape_node_config.go#L282
G306: Expect WriteFile permissions to be 0600 or less (gosec)
chaincli-lint: core/scripts/chaincli/handler/keeper_launch.go#L374
var-declaration: should omit type string from declaration of var contractVersion; it will be inferred from the right-hand side (revive)
chaincli-lint: core/scripts/chaincli/handler/mercury_lookup_handler.go#L220
empty-block: this block is empty, you can remove it (revive)
chaincli-lint: core/scripts/chaincli/handler/report.go#L236
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
chaincli-lint: core/scripts/chaincli/handler/report.go#L336
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
chaincli-lint: core/scripts/chaincli/handler/mercury_lookup_handler.go#L328
empty-block: this block is empty, you can remove it (revive)
chaincli-lint: core/scripts/chaincli/handler/report.go#L344
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
chaincli-lint: core/scripts/chaincli/handler/keeper.go#L438
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (revive)
chaincli-lint: core/scripts/chaincli/handler/keeper.go#L456
superfluous-else: if block ends with call to panic function, so drop this else and outdent its block (revive)
chaincli-lint: core/scripts/chaincli/handler/keeper.go#L738
superfluous-else: if block ends with call to log.Fatalf function, so drop this else and outdent its block (revive)

Artifacts

Produced during runtime
Name Size
golangci-lint-report Expired
5.78 KB