feat(x/ecocredit)!: implement independent projects #8376
lint.yml
on: pull_request
buf-lint
13s
protolint
36s
Matrix: golangci
Annotations
10 errors and 18 warnings
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/base/keeper/query_project_enrollment.go#L10
commentFormatting: put a space between `//` and comment text (gocritic)
|
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#L101
ifElseChain: rewrite if-else to switch statement (gocritic)
|
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/base/keeper/msg_create_batch_test.go#L501
func `(*createBatchSuite).getProjectSequence` is unused (unused)
|
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 (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/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/.
|
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 (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/.
|
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_update_project_enrollment_test.go#L33
var-naming: method ProjectId should be ProjectID (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_update_project_enrollment_test.go#L37
var-naming: method ClassId should be ClassID (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/marketplace/keeper/keeper_test.go#L50
var-naming: struct field classId should be classID (revive)
|