feat(x/ecocredit)!: implement independent projects #8379
lint.yml
on: pull_request
buf-lint
15s
protolint
29s
Matrix: golangci
Annotations
7 errors and 18 warnings
golangci (x/ecocredit):
x/ecocredit/base/keeper/query_project_enrollments.go#L22
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci (x/ecocredit):
x/ecocredit/base/keeper/msg_update_project_enrollment_test.go#L102
ifElseChain: rewrite if-else to switch statement (gocritic)
|
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/genesis/genesis_test.go#L557
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
|
golangci (x/ecocredit):
x/ecocredit/genesis/genesis_test.go#L568
SA1019: baseapi.ProjectSequence is deprecated: No longer used. (staticcheck)
|
golangci (x/ecocredit)
issues found
|
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 (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/.
|
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/utils.go#L74
var-naming: func parameter classId should be classID (revive)
|
golangci (x/ecocredit):
x/ecocredit/simulation/genesis.go#L247
var-naming: var cId1 should be cID1 (revive)
|
golangci (x/ecocredit):
x/ecocredit/simulation/genesis.go#L258
var-naming: var cId2 should be cID2 (revive)
|
golangci (x/ecocredit):
x/ecocredit/simulation/genesis.go#L295
var-naming: var pId1 should be pID1 (revive)
|
golangci (x/ecocredit):
x/ecocredit/simulation/genesis.go#L306
var-naming: var pId2 should be pID2 (revive)
|
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/types/v1/msg_update_project_enrollment_test.go#L33
var-naming: method ProjectId should be ProjectID (revive)
|
golangci (x/ecocredit):
x/ecocredit/base/types/v1/msg_update_project_enrollment_test.go#L37
var-naming: method ClassId should be ClassID (revive)
|
golangci (x/ecocredit):
x/ecocredit/marketplace/keeper/keeper_test.go#L50
var-naming: struct field classId should be classID (revive)
|