feat: new option '--external-node' which will be used to get their bl… #11
Annotations
10 errors and 11 warnings
lint:
pkg/exporter/service.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default -s blank -s dot -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) -s prefix(github.com/cometbft/cometbft) -s prefix(github.com/cosmos/ibc-go) -s prefix(github.com/pfc-developer/cosmos-exporter) --custom-order (gci)
|
lint:
pkg/exporter/service.go#L16
File is not `gci`-ed with --skip-generated -s standard -s default -s blank -s dot -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) -s prefix(github.com/cometbft/cometbft) -s prefix(github.com/cosmos/ibc-go) -s prefix(github.com/pfc-developer/cosmos-exporter) --custom-order (gci)
|
lint:
cmd/inj-cosmos-exporter/main.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default -s blank -s dot -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) -s prefix(github.com/cometbft/cometbft) -s prefix(github.com/cosmos/ibc-go) -s prefix(github.com/pfc-developer/cosmos-exporter) --custom-order (gci)
|
lint:
cmd/inj-cosmos-exporter/main.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default -s blank -s dot -s prefix(cosmossdk.io) -s prefix(github.com/cosmos/cosmos-sdk) -s prefix(github.com/cometbft/cometbft) -s prefix(github.com/cosmos/ibc-go) -s prefix(github.com/pfc-developer/cosmos-exporter) --custom-order (gci)
|
lint:
cmd/sei-cosmos-exporter/main.go#L137
exitAfterDefer: log.Fatal will exit, and `defer func(service *exporter.Service){...}(...)` will not run (gocritic)
|
lint:
cmd/kuji-cosmos-exporter/main.go#L143
exitAfterDefer: log.Fatal will exit, and `defer func(service *exporter.Service){...}(...)` will not run (gocritic)
|
lint:
pkg/exporter/service.go#L97
G402: TLS MinVersion too low. (gosec)
|
lint:
pkg/exporter/service.go#L115
G402: TLS MinVersion too low. (gosec)
|
lint:
cmd/sei-cosmos-exporter/main.go#L135
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
lint:
pkg/exporter/service.go#L95
lostcancel: the cancel function returned by context.WithTimeout should be called, not discarded, to avoid a context leak (govet)
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
cmd/sei-cosmos-exporter/types/params.go#L8
import-alias-naming: import name (cosmos_math) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/expected_keeper.go#L5
import-alias-naming: import name (cosmos_math) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/msgs.go#L5
import-alias-naming: import name (cosmos_math) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/msgs.go#L36
unused-receiver: method receiver 'msg' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/msgs.go#L39
unused-receiver: method receiver 'msg' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/vote.go#L9
import-alias-naming: import name (cosmos_math) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/keys.go#L75
bare-return: avoid using bare returns, please add return expressions (revive)
|
lint:
cmd/sei-cosmos-exporter/types/ballot.go#L9
import-alias-naming: import name (cosmos_math) must match the regular expression: ^[a-z][a-z0-9]{0,}$ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/msgs.go#L97
unused-receiver: method receiver 'msg' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
lint:
cmd/sei-cosmos-exporter/types/ballot.go#L66
bare-return: avoid using bare returns, please add return expressions (revive)
|