Skip to content

fork v4_5_1 remove rate limit: #747

fork v4_5_1 remove rate limit:

fork v4_5_1 remove rate limit: #747

Triggered via pull request August 18, 2023 08:26
Status Failure
Total duration 4m 11s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: x/ibc-hooks/keeper/keeper.go#L58
unslice: could simplify senderHash32[:] to senderHash32 (gocritic)
lint: x/ratelimit/types/keys.go#L35
unslice: could simplify channelIdBz[:] to channelIdBz (gocritic)
lint: app/app.go#L704
singleCaseSwitch: found switch with default case only (gocritic)
lint: x/ratelimit/types/expected_keepers.go#L18
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/types/quota.go#L8
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/transfermiddleware/keeper/abci.go#L19
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/keeper/rate_limit.go#L17
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/keeper/rate_limit.go#L111
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/keeper/rate_limit.go#L147
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ratelimit/keeper/rate_limit.go#L168
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/ibc-hooks/client/cli/query.go#L16
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/ratelimit/types/epoch.go#L9
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: x/ratelimit/types/epoch.go#L10
var-declaration: should omit type time.Duration from declaration of var EpochHourPeriod; it will be inferred from the right-hand side (revive)
lint: x/ratelimit/types/keys.go#L33
var-naming: func parameter channelId should be channelID (revive)
lint: x/ratelimit/types/msg.go#L193
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: x/ratelimit/types/msg.go#L239
if-return: redundant if ...; err != nil check, just return error instead. (revive)
lint: x/ratelimit/types/keys.go#L34
var-naming: var channelIdBz should be channelIDBz (revive)
lint: x/ratelimit/types/keys.go#L30
var-declaration: should omit type int from declaration of var PendingSendPacketChannelLength; it will be inferred from the right-hand side (revive)
lint: x/ratelimit/keeper/grpc_query.go#L16
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
lint: x/ratelimit/keeper/keeper.go#L58
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)