-
Notifications
You must be signed in to change notification settings - Fork 329
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
"Chain xxx has no minimum gas price value configured for denomination yyy" on healthcheck #3893
Comments
On genesis_chunked, it seems like the same issue as this one: #3589 |
What's the value of |
@romac just checked, this node has minimal-gas-prices as "0uosmo", so it's actually zero but is in fact set.
and the following minimum-gas-prices as the folowing:
yet I have the same issue on this chain as well:
|
@romac I think I figured it out: it queries the data from the on-chain endpoint, which yet doesn't return minimum-gas-price: debug info:
UPD: and REST endpoint of this node also returns empty minimum-gas-prices for whatever reason:
|
UPD2: there are some chains (namely from those I have, it's 4 out of 6 chains: bitsong, jackal, gitopia, sentinel) which have outdated cosmos-sdk which doesn't even have this endpoint.
Apparently if the chain doesn't support this endpoint, an empty vector of gas prices is used, causing this. |
Thanks so much for investigating this! How about we remove this warning altogether and only alert if the Hermes gas price is lower than the app minimum gas price, only if the latter is actually set? |
@romac I think it makes sense to use the node's info if it actually was fetched. What do you think of the following?
|
Yeah that's a more comprehensive solution indeed, sounds good! We'll get on it :) |
@romac actually you can assign it to me, I want to actually try implementing it, if it's not an issue. |
Summary of Bug
Getting the error on healthcheck:
On genesis_chunked there's another opened issue on this repo, my concern here is minimal gas prices value, I have it set in config.toml:
and on my node as well.
Version
1.8.2, also tried it on master
Steps to Reproduce
hermes health-check
or restart the app.Acceptance Criteria
For Admin Use
The text was updated successfully, but these errors were encountered: