Skip to content

Lint like ibc

Lint like ibc #979

Triggered via pull request December 16, 2023 14:46
Status Failure
Total duration 2m 29s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: x/tx-boundary/keeper/genensis.go#L12
Error return value of `k.SetDelegateBoundary` is not checked (errcheck)
lint: x/tx-boundary/keeper/genensis.go#L13
Error return value of `k.SetRedelegateBoundary` is not checked (errcheck)
lint: app/upgrades/centauri/upgrade.go#L42
Error return value of `slashingKeeper.SetParams` is not checked (errcheck)
lint: app/upgrades/centauri/upgrade.go#L47
Error return value of `govkeeper.SetParams` is not checked (errcheck)
lint: x/transfermiddleware/keeper/abci.go#L15
Error return value of `k.RemoveParachainIBCInfo` is not checked (errcheck)
lint: x/transfermiddleware/keeper/genesis.go#L13
Error return value of `k.AddParachainIBCInfo` is not checked (errcheck)
lint: x/transfermiddleware/keeper/keeper.go#L216
Error return value of `keeper.cdc.Unmarshal` is not checked (errcheck)
lint: x/transfermiddleware/keeper/keeper.go#L225
Error return value of `keeper.cdc.Unmarshal` is not checked (errcheck)
lint: app/upgrades/v4/upgrade.go#L32
Error return value of `keepers.WasmKeeper.SetParams` is not checked (errcheck)
lint: x/tx-boundary/keeper/keeper_test.go#L99
Error return value of `suite.app.TxBoundaryKeepper.SetRedelegateBoundary` is not checked (errcheck)
lint: app/prepare/prepare.go#L13
exported: func name will be used as prepare.PrepareProposalHandler by other packages, and that stutters; consider calling this ProposalHandler (revive)
lint: x/ratelimit/keeper/packet.go#L87
unused-receiver: method receiver 'k' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: x/ibc-hooks/wasm_hook.go#L137
unexported-naming: the symbol Ics20PacketData is local, its name should start with a lowercase letter (revive)
lint: app/ibctesting/simapp/app.go#L515
unchecked-type-assertion: type cast result is unchecked in icaControllerStack.(ibcmock.IBCModule) - type assertion will panic if not matched (revive)
lint: app/ibctesting/simapp/simd/cmd/root.go#L165
unchecked-type-assertion: type cast result is unchecked in simapp.ModuleBasics[genutiltypes.ModuleName].(genutil.AppModuleBasic) - type assertion will panic if not matched (revive)
lint: app/keepers/keepers.go#L81
import-alias-naming: import name (txBoundaryKeeper) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
lint: app/keepers/keepers.go#L82
import-alias-naming: import name (txBoundaryTypes) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
lint: app/keepers/keys.go#L35
import-alias-naming: import name (txBoundaryTypes) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
lint: app/upgrades/v4_5_1/fork.go#L7
import-alias-naming: import name (rateLimitKeeper) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
lint: app/upgrades/v4_5_1/fork.go#L1
var-naming: don't use an underscore in package name (revive)