-
Notifications
You must be signed in to change notification settings - Fork 73
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
panic: Int64() out of bound for Rebus #20
Comments
I'm also impacted by a similar issue with the canto chain.
Start command was: cosmos-exporter \
--bech-prefix canto \
--denom canto \
--denom-coefficient 1000000000000000000 \
--node canto-grpc.polkachu.com:15590 \
--tendermint-rpc https://canto-rpc.polkachu.com:443 |
AndreMiras
added a commit
to AndreMiras/cosmos-exporter
that referenced
this issue
Feb 14, 2023
The `/metrics/validators` was crashing with: ``` panic: Int64() out of bound goroutine 216 [running]: github.com/cosmos/cosmos-sdk/types.Dec.RoundInt64({0xc000d9fe78?}) /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.42.4/types/decimal.go:554 +0x8b main.ValidatorsHandler.func1.1(0x0?, 0x0) /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:156 +0x45 sort.insertionSort_func({0xc000d9ffb8?, 0xc001109b90?}, 0x0, 0x3) /usr/local/go/src/sort/zsortfunc.go:12 +0xb1 sort.pdqsort_func({0xc000d9ffb8?, 0xc001109b90?}, 0x3e938d0765b8?, 0x18?, 0xc000066800?) /usr/local/go/src/sort/zsortfunc.go:73 +0x2dd sort.Slice({0x10e6620?, 0xc001063098?}, 0x4?) /usr/local/go/src/sort/slice.go:26 +0xfa main.ValidatorsHandler.func1() /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:155 +0x31c created by main.ValidatorsHandler /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:130 +0x16b3 ``` Closes solarlabsteam#20
@hivefive-space, just pull requested a fix, can you try it? Edit: merged to master, can you let us know if that solves the issue for you too? |
AndreMiras
added a commit
to AndreMiras/cosmos-exporter
that referenced
this issue
Feb 14, 2023
The `/metrics/validators` was crashing with: ``` panic: Int64() out of bound goroutine 216 [running]: github.com/cosmos/cosmos-sdk/types.Dec.RoundInt64({0xc000d9fe78?}) /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.42.4/types/decimal.go:554 +0x8b main.ValidatorsHandler.func1.1(0x0?, 0x0) /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:156 +0x45 sort.insertionSort_func({0xc000d9ffb8?, 0xc001109b90?}, 0x0, 0x3) /usr/local/go/src/sort/zsortfunc.go:12 +0xb1 sort.pdqsort_func({0xc000d9ffb8?, 0xc001109b90?}, 0x3e938d0765b8?, 0x18?, 0xc000066800?) /usr/local/go/src/sort/zsortfunc.go:73 +0x2dd sort.Slice({0x10e6620?, 0xc001063098?}, 0x4?) /usr/local/go/src/sort/slice.go:26 +0xfa main.ValidatorsHandler.func1() /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:155 +0x31c created by main.ValidatorsHandler /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:130 +0x16b3 ``` Closes solarlabsteam#20
freak12techno
pushed a commit
that referenced
this issue
Feb 21, 2023
The `/metrics/validators` was crashing with: ``` panic: Int64() out of bound goroutine 216 [running]: github.com/cosmos/cosmos-sdk/types.Dec.RoundInt64({0xc000d9fe78?}) /go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.42.4/types/decimal.go:554 +0x8b main.ValidatorsHandler.func1.1(0x0?, 0x0) /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:156 +0x45 sort.insertionSort_func({0xc000d9ffb8?, 0xc001109b90?}, 0x0, 0x3) /usr/local/go/src/sort/zsortfunc.go:12 +0xb1 sort.pdqsort_func({0xc000d9ffb8?, 0xc001109b90?}, 0x3e938d0765b8?, 0x18?, 0xc000066800?) /usr/local/go/src/sort/zsortfunc.go:73 +0x2dd sort.Slice({0x10e6620?, 0xc001063098?}, 0x4?) /usr/local/go/src/sort/slice.go:26 +0xfa main.ValidatorsHandler.func1() /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:155 +0x31c created by main.ValidatorsHandler /app/cosmos-exporter-5f4936f0e725eff970995a34e67b85c7a1c65bda/validators.go:130 +0x16b3 ``` Closes #20
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
I have compiled the package from main with last commit (PR #18) and I receive the following error (please see below).
The daemon successfully starts and works until prometheus makes the request.
Please fix it if possible.
I could not find how to see the version of current cosmos-exporter (not seen in --help, -V or -v or version)
Here is the md5 hash
9dc766fa92cb370fbbc39932b1b10298 /usr/local/bin/cosmos-exporter
The text was updated successfully, but these errors were encountered: