Add a default_gas
setting to be used for submitting a tx when tx simulation fails
#1457
Labels
I: configuration
Internal: related to Hermes configuration
I: logic
Internal: related to the relaying logic
Milestone
Crate
ibc-relayer
Summary
Add a
default_gas
setting to be used for submitting a tx when tx simulation fails.Problem Definition
Currently, when the tx simulation fails we fall back on the
max_gas
config param to compute the fee for the tx before actually submitting it. Because tx simulation can fail for many reasons, and this happens somewhat often, doing so can very quickly drain the wallets of operators with a highmax_gas
.Proposal
Add a
default_gas
setting to be used instead ofmax_gas
for submitting a tx when tx simulation fails.The idea is that this
default_gas
setting would much lower than themax_gas
and would be typically enough for submitting 95-99% of txs.For Admin Use
The text was updated successfully, but these errors were encountered: