Skip to content

use staking middleware in custom staking module to batch delegation. #1001

use staking middleware in custom staking module to batch delegation.

use staking middleware in custom staking module to batch delegation. #1001

Triggered via pull request December 18, 2023 12:26
Status Failure
Total duration 2m 50s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: x/stakingmiddleware/keeper/msg_server.go#L25
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: custom/staking/keeper/msg_server.go#L32
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: x/mint/keeper/msg_server.go#L50
unreachable: unreachable code (govet)
lint: x/stakingmiddleware/client/cli/query.go#L45
unreachable: unreachable code (govet)
lint: app/app.go#L364
SA4001: *&x will be simplified to x. It will not copy x. (staticcheck)
lint: custom/staking/module.go#L10
ST1019: package "github.com/cosmos/cosmos-sdk/x/staking/keeper" is being imported more than once (stylecheck)
lint: custom/staking/module.go#L11
ST1019(related information): other import of "github.com/cosmos/cosmos-sdk/x/staking/keeper" (stylecheck)
lint: x/stakingmiddleware/module.go#L22
ST1019: package "github.com/notional-labs/composable/v6/x/stakingmiddleware/types" is being imported more than once (stylecheck)
lint: x/stakingmiddleware/module.go#L23
ST1019(related information): other import of "github.com/notional-labs/composable/v6/x/stakingmiddleware/types" (stylecheck)
lint
issues found