Skip to content

fork v4_5_1 remove rate limit: #748

fork v4_5_1 remove rate limit:

fork v4_5_1 remove rate limit: #748

Triggered via pull request August 18, 2023 08:28
@GNaD13GNaD13
synchronize #225
dang/v5-fork
Status Failure
Total duration 3m 52s
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#L705
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#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/epoch.go#L9
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
lint: x/ratelimit/types/msg.go#L193
if-return: redundant if ...; err != nil check, just return error instead. (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/types/keys.go#L33
var-naming: func parameter channelId should be channelID (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/keeper/abci.go#L40
increment-decrement: should replace epochInfo.CurrentEpoch += 1 with epochInfo.CurrentEpoch++ (revive)
lint: x/ratelimit/keeper/genesis.go#L19
var-naming: range var pendingPacketId should be pendingPacketID (revive)