Skip to content

Greed Mode (this branch could be broken) #119

Greed Mode (this branch could be broken)

Greed Mode (this branch could be broken) #119

Triggered via pull request November 2, 2024 12:26
@faddatfaddat
synchronize #26
faddat/atone47
Status Failure
Total duration 1m 38s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: broadcast/broadcast.go#L124
string `grpc` has 4 occurrences, make it a constant (goconst)
lint: broadcast/broadcast.go#L133
string `rpc` has 4 occurrences, make it a constant (goconst)
lint: broadcast/broadcast.go#L135
string `api` has 4 occurrences, make it a constant (goconst)
lint: modules/bank/send.go#L28
`if config.Greed` has complex nested blocks (complexity: 12) (nestif)
lint: broadcast/client.go#L128
exported: type name will be used as broadcast.BroadcastMetrics by other packages, and that stutters; consider calling this Metrics (revive)
lint: broadcast/client.go#L131
var-naming: struct field RpcCallStart should be RPCCallStart (revive)
lint: broadcast/client.go#L17
field `client` is unused (unused)
lint: main.go#L292
S1009: should omit nil check; len() for map[string]cosmossdk.io/math.Int is defined as zero (gosimple)
lint: main.go#L437
S1009: should omit nil check; len() for map[string]cosmossdk.io/math.Int is defined as zero (gosimple)
lint: broadcast/broadcast.go#L132
ineffectual assignment to err (ineffassign)