feat(x/ecocredit)!: implement independent projects #8368
lint.yml
on: pull_request
buf-lint
13s
protolint
34s
Matrix: golangci
Annotations
10 errors and 18 warnings
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/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/base/utils.go#L74
var-naming: func parameter classId should be classID (revive)
|
golangci (x/ecocredit):
x/ecocredit/base/utils_test.go#L48
func `testInvalidProjectID` is unused (unused)
|
golangci (x/ecocredit):
x/ecocredit/base/utils_test.go#L114
var `genInvalidProjectID` is unused (unused)
|
golangci (x/ecocredit):
x/ecocredit/base/utils_test.go#L72
func `testInvalidBatchDenom` is unused (unused)
|
golangci (x/ecocredit):
x/ecocredit/base/utils_test.go#L121
var `genInvalidBatchDenom` is unused (unused)
|
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 (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/.
|
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/.
|
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
|
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/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/.
|
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/keeper/query_projects_by_class_test.go#L20
var-naming: var clsId should be clsID (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.go#L41
redefines-builtin-id: redefinition of the built-in function delete (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#L54
var-naming: method parameter clsId should be clsID (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)
|
golangci (x/ecocredit):
x/ecocredit/base/keeper/msg_create_or_update_application_test.go#L36
var-naming: method parameter projId should be projID (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.go#L62
redefines-builtin-id: redefinition of the built-in function delete (revive)
|