Skip to content

Add Tx-boundary module #763

Add Tx-boundary module

Add Tx-boundary module #763

Triggered via pull request August 23, 2023 06:48
Status Failure
Total duration 50s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: x/ratelimit/keeper/rate_limit.go#L44
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/ratelimit/types/quota.go#L8
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/mint/simulation/genesis_test.go#L81
G601: Implicit memory aliasing in for loop. (gosec)
lint: x/tx-boundary/keeper/msg_server.go#L1
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: app/app.go#L709
G601: Implicit memory aliasing in for loop. (gosec)
lint: x/tx-boundary/keeper/keeper.go#L139
`curent` is a misspelling of `current` (misspell)
lint: x/tx-boundary/keeper/keeper.go#L93
S1002: should omit comparison to bool constant, can be simplified to `!store.Has(addr)` (gosimple)
lint: x/tx-boundary/keeper/keeper.go#L106
S1002: should omit comparison to bool constant, can be simplified to `!store.Has(addr)` (gosimple)
lint: x/tx-boundary/keeper/keeper.go#L120
S1002: should omit comparison to bool constant, can be simplified to `!store.Has(addr)` (gosimple)
lint: x/tx-boundary/keeper/keeper.go#L164
S1023: redundant `return` statement (gosimple)
lint: x/tx-boundary/types/codec.go#L26
unused-parameter: parameter 'cdc' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/tx-boundary/types/codec.go#L30
unused-parameter: parameter 'registry' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/tx-boundary/keeper/grpc_query.go#L13
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/tx-boundary/keeper/keeper.go#L99
increment-decrement: should replace limit_per_addr.DelegateCount += 1 with limit_per_addr.DelegateCount++ (revive)
lint: x/tx-boundary/keeper/keeper.go#L112
increment-decrement: should replace limit_per_addr.ReledegateCount += 1 with limit_per_addr.ReledegateCount++ (revive)
lint: x/tx-boundary/keeper/keeper.go#L85
var-naming: don't use underscores in Go names; method parameter limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/keeper/keeper.go#L97
var-naming: don't use underscores in Go names; var limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/keeper/keeper.go#L110
var-naming: don't use underscores in Go names; var limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/keeper/keeper.go#L118
var-naming: don't use underscores in Go names; method result limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/keeper/keeper.go#L133
var-naming: don't use underscores in Go names; var limit_per_addr should be limitPerAddr (revive)