Skip to content

Lint like ibc

Lint like ibc #975

Triggered via pull request December 16, 2023 13:24
Status Failure
Total duration 2m 30s
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/ics4wrapper.go#L64
Error return value of `keeper.bankKeeper.BurnCoins` 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/types/genesis.go#L3
redundant-import-alias: Import alias "fmt" is redundant (revive)
lint: x/tx-boundary/module.go#L1
var-naming: don't use an underscore in package name (revive)
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/mint/keeper/keeper.go#L80
bare-return: avoid using bare returns, please add return expressions (revive)
lint: bech32-migration/gov/gov.go#L8
redundant-import-alias: Import alias "v1" is redundant (revive)
lint: app/ibctesting/simapp/upgrades/v6/upgrades.go#L11
redundant-import-alias: Import alias "v6" is redundant (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: app/ibctesting/simapp/config.go#L33
get-return: function 'GetSimulatorFlags' seems to be a getter but it does not return any result (revive)
lint: app/ibctesting/simapp/app.go#L514
unchecked-type-assertion: type cast result is unchecked in icaControllerStack.(ibcmock.IBCModule) - type assertion will panic if not matched (revive)
lint: app/ibctesting/simapp/app.go#L560
comment-spacings: no space between comment delimiter and comment text (revive)