Skip to content

feat(x/ecocredit)!: implement independent projects #8372

feat(x/ecocredit)!: implement independent projects

feat(x/ecocredit)!: implement independent projects #8372

Triggered via pull request March 31, 2024 22:01
Status Failure
Total duration 43s
Artifacts

lint.yml

on: pull_request
Matrix: golangci
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 18 warnings
golangci (x/ecocredit): x/ecocredit/server/testsuite/genesis.go#L79
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/server/testsuite/genesis.go#L116
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/migrations/v5/state.go#L35
SA1019: proj.ClassKey is deprecated: use ProjectEnrollment instead. (staticcheck)
golangci (x/ecocredit): x/ecocredit/migrations/v5/state.go#L65
SA1019: proj.ClassKey is deprecated: use ProjectEnrollment instead. (staticcheck)
golangci (x/ecocredit): x/ecocredit/migrations/v5/state.go#L66
SA1019: proj.ClassKey is deprecated: use ProjectEnrollment instead. (staticcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis_test.go#L420
Error return value of `(github.com/regen-network/regen-ledger/api/v2/regen/ecocredit/v1.ProjectEnrollmentTable).Insert` is not checked (errcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis_test.go#L432
Error return value of `(github.com/regen-network/regen-ledger/api/v2/regen/ecocredit/v1.ProjectEnrollmentTable).Insert` is not checked (errcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis.go#L258
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/genesis/genesis.go#L259
SA1019: basetypes.ProjectSequence is deprecated: No longer used. (staticcheck)
golangci (x/ecocredit): x/ecocredit/marketplace/keeper/keeper_test.go#L50
var-naming: struct field classId should be classID (revive)
golangci (x/intertx)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (types)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (x/data)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (app)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
buf-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
buf-lint
No github_token supplied, API requests will be subject to stricter rate limiting
protolint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (x/ecocredit)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: technote-space/get-diff-action@v6, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci (x/ecocredit): x/ecocredit/base/types/v1/msg_create_or_update_application_test.go#L28
var-naming: method ProjectId should be ProjectID (revive)
golangci (x/ecocredit): x/ecocredit/base/types/v1/msg_create_or_update_application_test.go#L32
var-naming: method ClassId should be ClassID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_create_unregistered_project_test.go#L51
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L40
var-naming: method parameter projId should be projID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L47
var-naming: method parameter clsId should be clsID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L54
var-naming: method parameter clsId should be clsID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L64
var-naming: method parameter projId should be projID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L78
var-naming: method parameter projId should be projID (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment.go#L41
redefines-builtin-id: redefinition of the built-in function delete (revive)
golangci (x/ecocredit): x/ecocredit/base/keeper/msg_update_project_enrollment.go#L51
redefines-builtin-id: redefinition of the built-in function delete (revive)