Skip to content

Merge duality neutron #1043

Merge duality neutron

Merge duality neutron #1043

Triggered via pull request October 10, 2023 23:15
Status Failure
Total duration 1m 30s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: x/transfer/module.go#L3
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/transfer/module.go#L6
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/incentives/client/cli/cli_test.go#L1
: # github.com/neutron-org/neutron/x/incentives/client/cli_test [github.com/neutron-org/neutron/x/incentives/client/cli.test]
lint: x/incentives/client/cli/query_test.go#L49
undefined: math
lint: x/epochs/types/hooks_test.go#L143
Error return value of `hooks.BeforeEpochStart` is not checked (errcheck)
lint: x/epochs/types/hooks_test.go#L154
Error return value of `hooks.AfterEpochEnd` is not checked (errcheck)
lint: x/epochs/module.go#L87
Error return value of `types.RegisterQueryHandlerClient` is not checked (errcheck)
lint: x/incentives/keeper/distribute.go#L83
Error return value of `k.SetAccountHistory` is not checked (errcheck)
lint: x/incentives/keeper/genesis.go#L13
Error return value of `k.SetParams` is not checked (errcheck)
lint: tests/ibc/ibc_setup_test.go#L288
Error return value of `path.RelayPacket` is not checked (errcheck)
lint: utils/math/prec_dec.go#L1
var-naming: don't use an underscore in package name (revive)
lint: x/dex/types/price.go#L22
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: x/dex/types/pair_id.go#L68
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: x/dex/types/params.go#L14
var-declaration: should omit type []uint64 from declaration of var DefaultFeeTiers; it will be inferred from the right-hand side (revive)
lint: x/dex/types/trade_pair_id.go#L84
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: x/dex/types/keys.go#L82
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: x/dex/client/cli/tx_place_limit_order.go#L67
var-declaration: should drop = nil from declaration of var maxAmountOutIntP; it is the zero value (revive)
lint: utils/slice_helper.go#L46
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: utils/bank.go#L72
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: utils/generic_helper.go#L14
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)