Comments (9)
I still need to fix the error if no metadatas, panic isn't a nice solution here and is the opposite of intuitive. I'll fix the error message and then close it.
from cosmos-exporter.
Hi, can you run <app binary> query bank denom-metadata
and post the output?
I'm assuming it returns the denoms information in a different way than any other binaries I've tested it on, but I don't have a Rizon fullnode unfortunately so I can't check it by myself.
from cosmos-exporter.
starsd query --node "tcp://127.0.0.11:26657" bank denom-metadata
metadatas: []
pagination:
next_key: null
total: "0"
I've checked also "stargaze" node and received the same info...
from cosmos-exporter.
Ummmm lol, it doesn't return any of the denom information and crashes about that. For example, here's what the command does on Sentinel:
sentinelhub query bank denom-metadata --node https://rpc.sentinel.co:443
metadatas:
- base: udvpn
denom_units:
- aliases: []
denom: dvpn
exponent: 6
- aliases:
- millidvpn
denom: mdvpn
exponent: 3
- aliases:
- microdvpn
denom: udvpn
exponent: 0
description: The native staking token of the Sentinel Hub.
display: dvpn
pagination:
next_key: null
total: "1"
as you can see, the metadatas is not empty.
You can fix it by running it by specifying --denom
and --denom-coefficient
manually, so it won't use the results from the node (something like --denom atolo --denom-coefficient 1000000
), meanwhile the app should crash if no metatatas, but giving some fancy error in return. I'll fix it and close it after.
Let me know if the approach above would work for you.
from cosmos-exporter.
ok, thanks, I will check
for info - how it looks like balances output with denom here:
`rizond query --node "tcp://127.0.0.11:26657" bank balances rizon99999999999999999999999999999
balances:
- amount: "999"
denom: uatolo
pagination:
next_key: null
total: "0"
`
from cosmos-exporter.
Yes, with "--denom-coefficient" it started without errors
Thanks again!
You can close issue.
from cosmos-exporter.
@sparkuss okay so I've published 0.2.1 which should've fixed it. Can you try reproducing the panic behaviour on the newer release? If it'll log the error and exit instead of panic this would be expected.
from cosmos-exporter.
@freak12techno yes, much better and understandable now:
11:59AM INF Got network status from Tendermint network=titan-1
11:59AM FTL No denom infos. Try running the binary with --denom and --denom-coefficient to set them manually.
from cosmos-exporter.
@sparkuss okay, thanks for confirming! I'll close it now then.
from cosmos-exporter.
Related Issues (17)
- Evmos /metrics/validators not support HOT 3
- What should be used for the list of validators
- Invalid moniker causes comsos-exporter to crash
- Sifchain Integer Issue HOT 2
- panic: Int64() out of bound for Rebus HOT 2
- Pagination for QueryValidatorDelegationsRequest HOT 3
- Handle big size exponent
- [new feature req] add options for limiting delegation(and etc) count ( /validator endpooint)
- UTF8 moniker names HOT 1
- Service Crashes after some time
- /metric/validators net showing any results
- panic: Int64() out of bound for Cosmos SDK v0.46.10 HOT 1
- Empty reply for validators metrics HOT 1
- http: panic serving 127.0.0.1:xxxxx: Int64() out of bound HOT 7
- When executing ./cosmos-exporter
- Kava /metrics/validator not working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmos-exporter.