feat: refactor denoms #35
Annotations
10 errors and 5 warnings
lint:
pkg/queriers/balance.go#L70
assignOp: replace `amount = amount / float64(denomInfo.DenomCoefficient)` with `amount /= float64(denomInfo.DenomCoefficient)` (gocritic)
|
lint:
pkg/config/config.go#L20
tag is not aligned, should be: default:"1000000" toml:"denom-coefficient" (tagalign)
|
lint:
pkg/config/config.go#L81
tag is not aligned, should be: default:":9550" toml:"listen-address" (tagalign)
|
lint:
pkg/config/config.go#L86
tag is not aligned, should be: default:"info" toml:"level" (tagalign)
|
lint:
pkg/config/config.go#L87
tag is not aligned, should be: default:"false" toml:"json" (tagalign)
|
lint:
pkg/config/config.go#L7
import 'github.com/BurntSushi/toml' is not allowed from list 'Main' (depguard)
|
lint:
pkg/config/config.go#L8
import 'github.com/mcuadros/go-defaults' is not allowed from list 'Main' (depguard)
|
lint:
pkg/types/types.go#L4
import 'main/pkg/config' is not allowed from list 'Main' (depguard)
|
lint:
pkg/types/types.go#L7
import 'github.com/prometheus/client_golang/prometheus' is not allowed from list 'Main' (depguard)
|
lint:
pkg/http/http.go#L5
import 'main/pkg/types' is not allowed from list 'Main' (depguard)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
go-vet
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
go-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|