Skip to content

Add Tx-boundary module #770

Add Tx-boundary module

Add Tx-boundary module #770

Triggered via pull request August 25, 2023 09:34
Status Failure
Total duration 47s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
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/ratelimit/types/quota.go#L8
File is not `gofumpt`-ed with `-extra` (gofumpt)
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/tx-boundary/client/cli/tx.go#L40
var-naming: don't use underscores in Go names; var tx_limit should be txLimit (revive)
lint: x/tx-boundary/client/cli/tx.go#L45
var-naming: don't use underscores in Go names; var block_per_generation should be blockPerGeneration (revive)
lint: x/tx-boundary/client/cli/tx.go#L75
var-naming: don't use underscores in Go names; var tx_limit should be txLimit (revive)
lint: x/tx-boundary/client/cli/tx.go#L80
var-naming: don't use underscores in Go names; var block_per_generation should be blockPerGeneration (revive)
lint: x/tx-boundary/keeper/msg_server.go#L1
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/tx-boundary/ante/antetest/ante_test_setup.go#L81
File is not `gofumpt`-ed with `-extra` (gofumpt)
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#L110
increment-decrement: should replace limit_per_addr.DelegateCount += 1 with limit_per_addr.DelegateCount++ (revive)
lint: x/tx-boundary/keeper/keeper.go#L128
increment-decrement: should replace limit_per_addr.ReledegateCount += 1 with limit_per_addr.ReledegateCount++ (revive)
lint: x/tx-boundary/keeper/keeper.go#L91
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#L108
var-naming: don't use underscores in Go names; var limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/keeper/keeper.go#L126
var-naming: don't use underscores in Go names; var limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/keeper/keeper.go#L134
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#L149
var-naming: don't use underscores in Go names; var limit_per_addr should be limitPerAddr (revive)
lint: x/tx-boundary/module.go#L1
var-naming: don't use an underscore in package name (revive)
lint: x/tx-boundary/module.go#L113
unused-parameter: parameter 'cfg' seems to be unused, consider removing or renaming it as _ (revive)