Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/metric/validators net showing any results #36

Open
iammortimer opened this issue Apr 17, 2023 · 0 comments
Open

/metric/validators net showing any results #36

iammortimer opened this issue Apr 17, 2023 · 0 comments

Comments

@iammortimer
Copy link

When running the /metric/validators command on a new evmosd based chain it's not showing any results. The logs show the following error:

panic: Int64() out of bound
goroutine 101 [running]:
github.com/cosmos/cosmos-sdk/types.Dec.RoundInt64(0xc0010da100, 0x0)
        /home/runner/go/pkg/mod/github.com/cosmos/[email protected]/types/decimal.go:554 +0xb3
main.ValidatorsHandler.func1.1(0x6, 0x0, 0x133b8e0)
        /home/runner/work/cosmos-exporter/cosmos-exporter/validators.go:155 +0x50
sort.quickSort_func(0xc0005cdf90, 0xc0010cd650, 0x0, 0x7, 0x6)
        /opt/hostedtoolcache/go/1.16.5/x64/src/sort/zfuncversion.go:154 +0x1b8
sort.Slice(0x1300460, 0xc000123a70, 0xc0005cdf90)
        /opt/hostedtoolcache/go/1.16.5/x64/src/sort/slice.go:20 +0xe8
main.ValidatorsHandler.func1(0xc000701404, 0xc00125c420, 0xc000db9180, 0xc000711ed8)
        /home/runner/work/cosmos-exporter/cosmos-exporter/validators.go:154 +0x3bd
created by main.ValidatorsHandler
        /home/runner/work/cosmos-exporter/cosmos-exporter/validators.go:129 +0x1336
cosmos-exporter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
cosmos-exporter.service: Failed with result 'exit-code'.
cosmos-exporter.service: Service hold-off time over, scheduling restart.
cosmos-exporter.service: Scheduled restart job, restart counter is at 324.
Stopped Cosmos Exporter.```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant