-
Notifications
You must be signed in to change notification settings - Fork 359
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
Osmosis tx fee calculation issues #2422
Comments
I only see error messages in the first log. The message says:
Have you tried adjusting the gas config? The error message also says:
So this might be an issue with the default gas config. I also added integration test for Osmosis at #2430. It appears that you need at to set |
@mircea-c can you paste the hermes config for osmosis? |
@soareschen only the first log is an issue. The second log is an example of the same node and same configuration without This is the config I used for Hermes v1.0.0
|
and for v0.15? was the diff only |
i think have you changed the price? |
I never used |
I think the fee used when simulation fails is too low. Maybe it was before although I don't understand the difference in the With the v1.0.0-rc0 you run into simulation failure due to acc sequence mismatch (got > expected). In v0.15.0 we were not recovering from that and therefore the failure due to default fee was not as noticeable. |
Had a look also, here are some findings:
In the failed case, we have
In the succesful case, we have
The So either:
@mircea-c can you please double-check & confirm that indeed the two executions used the same
|
@adizere seems I pasted the wrong log. I was trying different gas values while I was trying to troubleshoot. Here's another log sample from hermes 0.15.0 using the same
|
For more context, here's the full log from a run of |
@mircea found that there is an osmosis configuration parameter Details:
A few possible solutions we should explore:
There is a more general case where a Tx includes many IBC messages, up to
It is possible and likely that hermes will build a Tx with gas that exceeds the threshold and simulation will fail for this Tx and retries/ clearing will not solve this I believe. Some solutions:
Other notes from the log:
|
Based on the above I think these hermes config changes should help short term:
|
OK. I'll start an instance of Hermes with those changes and will report back. |
Due to https://github.com/informalsystems/ibc-rs/issues/2477 I suggest using an even smaller |
Summary of Bug
Hermes is unable to submit transactions to Osmosis chain because it seems it's miscalculating the TX fee.
Version
v1.0.0-rc.0
Steps to Reproduce
Example transaction using Hermes v1.0.0-rc.0
Example transaction using the same configuration, same node and Hermes v0.15.0
Acceptance Criteria
Hermes is able to submit transactions to the Osmosis chain
For Admin Use
The text was updated successfully, but these errors were encountered: