Skip to content

[DON'T MERGE] feat(x/gov): add governors #152

[DON'T MERGE] feat(x/gov): add governors

[DON'T MERGE] feat(x/gov): add governors #152

Triggered via pull request September 24, 2024 16:21
Status Failure
Total duration 2m 27s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
golangci-lint: x/gov/keeper/msg_server.go#L229
Error return value of `types.ErrInsufficientGovernorDelegation.Wrapf` is not checked (errcheck)
golangci-lint: x/gov/keeper/governor.go#L120
SA1019: sdk.Int is deprecated: Functionality of this package has been moved to it's own module: cosmossdk.io/math (staticcheck)
golangci-lint: x/gov/simulation/genesis.go#L107
SA1019: sdk.Int is deprecated: Functionality of this package has been moved to it's own module: cosmossdk.io/math (staticcheck)
golangci-lint: x/gov/simulation/genesis.go#L197
SA1019: sdk.Int is deprecated: Functionality of this package has been moved to it's own module: cosmossdk.io/math (staticcheck)
golangci-lint: x/gov/keeper/msg_server.go#L12
ST1019: package "github.com/atomone-hub/atomone/x/gov/types" is being imported more than once (stylecheck)
golangci-lint: x/gov/keeper/msg_server.go#L13
ST1019(related information): other import of "github.com/atomone-hub/atomone/x/gov/types" (stylecheck)
golangci-lint: x/gov/keeper/invariants.go#L112
ST1023: should omit type bool from declaration; it will be inferred from the right-hand side (stylecheck)
golangci-lint
Process completed with exit code 2.
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/