confio / ts-relayer

IBC Relayer in TypeScript
MIT License
109 stars 63 forks source link

Dynamically calculate needed gas #198

Closed ethanfrey closed 2 years ago

ethanfrey commented 3 years ago

We currently hardcode gas limits for each type of transation. However, some can vary quite a bit... updateClient based on how many validators, receivePacket based on the protocol being used.

with https://github.com/confio/ts-relayer/pull/197 we can override these on a per-chain basis, but when CosmJS 0.26 is out with simulation support and custom gas per tx, we should dynamically set the prices

ethanfrey commented 2 years ago

When #208 is in, we can do this!

ethanfrey commented 2 years ago

Closed by #215