Skip to content

Optimize params validation #164

Optimize params validation

Optimize params validation #164

Triggered via pull request July 9, 2024 05:18
Status Failure
Total duration 6m 18s
Artifacts

lint.yml

on: pull_request
golangci-lint
6m 9s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
golangci-lint: x/btcbridge/types/runes.go#L80
assignOp: replace `i = i + 4` with `i += 4` (gocritic)
golangci-lint: x/btcbridge/types/merkle_proof.go#L38
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/gmm/types/message_add_liquidity.go#L66
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/client/cli/query.go#L109
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/client/cli/tx.go#L53
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/keeper/msg_server.go#L80
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/keeper/msg_server.go#L109
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/keeper/msg_server.go#L220
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/genesis.go#L24
File is not `gofumpt`-ed (gofumpt)
golangci-lint: x/btcbridge/types/message_update_params.go#L34
SA1019: sdkerrors.Wrap is deprecated: functionality of this package has been moved to it's own module: (staticcheck)
golangci-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci-lint: x/btcbridge/types/message_update_params.go#L21
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateParamsRequest (revive)
golangci-lint: x/btcbridge/types/message_update_params.go#L26
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateParamsRequest (revive)
golangci-lint: x/btcbridge/types/message_update_params.go#L32
receiver-naming: receiver name m should be consistent with previous receiver name msg for MsgUpdateParamsRequest (revive)
golangci-lint: x/btcbridge/types/bitcoin_transaction.go#L70
var-naming: func parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/types/runes.go#L123
var-naming: func parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/types/bitcoin_transaction.go#L268
var-naming: func parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/types/errors.go#L44
var-naming: var ErrInvalidRuneId should be ErrInvalidRuneID (revive)
golangci-lint: x/btcbridge/keeper/keeper_withdraw.go#L98
var-naming: var runeId should be runeID (revive)
golangci-lint: x/btcbridge/keeper/utxo.go#L27
var-naming: interface method parameter runeId should be runeID (revive)
golangci-lint: x/btcbridge/keeper/utxo.go#L144
var-naming: method parameter runeId should be runeID (revive)