fork v4_5_1 remove rate limit: (#225) #749
Annotations
10 errors and 10 warnings
x/ibc-hooks/keeper/keeper.go#L58
unslice: could simplify senderHash32[:] to senderHash32 (gocritic)
|
x/ratelimit/types/keys.go#L35
unslice: could simplify channelIdBz[:] to channelIdBz (gocritic)
|
app/app.go#L705
singleCaseSwitch: found switch with default case only (gocritic)
|
x/ratelimit/types/expected_keepers.go#L18
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/ratelimit/types/quota.go#L8
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/transfermiddleware/keeper/abci.go#L19
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/ratelimit/keeper/rate_limit.go#L17
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/ratelimit/keeper/rate_limit.go#L111
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/ratelimit/keeper/rate_limit.go#L147
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/ratelimit/keeper/rate_limit.go#L168
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
x/ibc-hooks/client/cli/query.go#L16
unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)
|
x/ratelimit/types/epoch.go#L9
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)
|
x/ratelimit/types/keys.go#L33
var-naming: func parameter channelId should be channelID (revive)
|
x/ratelimit/types/keys.go#L34
var-naming: var channelIdBz should be channelIDBz (revive)
|
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)
|
x/ratelimit/types/msg.go#L193
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
x/ratelimit/types/msg.go#L239
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
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)
|
x/ratelimit/keeper/abci.go#L40
increment-decrement: should replace epochInfo.CurrentEpoch += 1 with epochInfo.CurrentEpoch++ (revive)
|
x/ratelimit/keeper/genesis.go#L19
var-naming: range var pendingPacketId should be pendingPacketID (revive)
|
The logs for this run have expired and are no longer available.
Loading