Treat Hermes 'empty wallet' error as non-recoverable #1800
Labels
A: bug
Admin: something isn't working
I: logic
Internal: related to the relaying logic
O: usability
Objective: cause to improve the user experience (UX) and ease using the product
Milestone
Context
This was a debugging session with a relayer operator.
We logged here our findings from running the Hermes dev feature from PR #1705. The problems documented below are, however, not related to this PR. The symptom the operator was reporting is that Hermes is not relaying anything. This was a red herring, however.
Takeaway
The important problem signaled in this issue is that Hermes misinterpret SDK error 13 (empty operator wallet).
Log remarks
Estimated gas higher than max gas
This is a misconfiguration.
Potential fix: The relayer operator should set
max_msg_num = 25
for Panacea chain to a smaller value, eg 10. Alternatively: increase themax_gas
for that chain to above 1 Million.Empty wallet on hub-4
This is a Hermes bug, but also a misconfiguration (i.e., the wallet was empty)
Fix: At the very least, we should improve logs and treat "SDK error: 13" as an non-recoverable error.
Fix: Add more
uatom
to the wallet of chaincosmoshub-4
Version
#1705
Acceptance criteria
For Admin Use
The text was updated successfully, but these errors were encountered: