IBC Rate Limit #5792
Triggered via pull request
September 28, 2023 18:35
Status
Failure
Total duration
1m 46s
Artifacts
–
Annotations
10 errors
golangci-lint:
x/ibcratelimit/osmoutils/osmocli/parsers.go#L255
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
x/ibcratelimit/osmoutils/osmocli/query_cmd_wrap.go#L88
assignOp: replace `desc.numArgs = desc.numArgs - 1` with `desc.numArgs--` (gocritic)
|
golangci-lint:
x/ibcratelimit/types/genesis.go#L13
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
x/ibcratelimit/types/params.go#L36
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
x/ibcratelimit/osmoutils/slice_helper.go#L48
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
x/ibcratelimit/osmoutils/generic_helper.go#L14
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
golangci-lint:
x/ibcratelimit/osmoutils/osmocli/index_cmd.go#L20
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
x/ibcratelimit/osmoutils/osmocli/parsers.go#L38
increment-decrement: should replace argIndexOffset -= 1 with argIndexOffset-- (revive)
|
golangci-lint:
x/ibcratelimit/osmoutils/osmocli/dynamic.go#L20
var-declaration: should omit type []string from declaration of var nonAttachableFields; it will be inferred from the right-hand side (revive)
|
golangci-lint:
x/ibcratelimit/osmoutils/osmocli/parsers.go#L149
unused-parameter: parameter 'flagAdvice' seems to be unused, consider removing or renaming it as _ (revive)
|