Improve the Gov Module Mechanism by BLV Labs #1261
Annotations
10 errors and 11 warnings
golangci-lint:
custom/gov/keeper/msg_server_test.go#L635
string `abc` has 3 occurrences, make it a constant (goconst)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L649
string `-0.1` has 3 occurrences, make it a constant (goconst)
|
golangci-lint:
custom/gov/client/cli/init_test.go#L21
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
custom/gov/client/cli/init_test.go#L22
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
custom/gov/client/cli/init_test.go#L28
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
custom/gov/client/cli/init_test.go#L30
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
custom/gov/keeper/migrator_test.go#L6
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
custom/gov/keeper/migrator_test.go#L8
commentFormatting: put a space between `//` and comment text (gocritic)
|
golangci-lint:
custom/gov/migrations/v5/store_test.go#L91
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint:
custom/gov/client/cli/init_test.go#L1
File is not `gofumpt`-ed (gofumpt)
|
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/core/core. Supported file pattern: go.sum
|
golangci-lint:
custom/gov/types/v2lunc1/genesis.go#L58
var-naming: struct field ProposalId should be ProposalID (revive)
|
golangci-lint:
custom/gov/types/v2lunc1/genesis.go#L81
var-naming: struct field ProposalId should be ProposalID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L196
var-naming: var proposalId should be proposalID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L288
var-naming: var pId should be pID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L341
var-naming: var proposalId should be proposalID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L433
var-naming: var pId should be pID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L485
var-naming: var pId should be pID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L490
var-naming: struct field proposalId should be proposalID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L517
var-naming: var proposalId should be proposalID (revive)
|
golangci-lint:
custom/gov/keeper/msg_server_test.go#L1084
var-naming: var pId should be pID (revive)
|