cosmos / cosmjs

The Swiss Army knife to power JavaScript based client solutions ranging from Web apps/explorers over browser extensions to server-side clients like faucets/scrapers.
https://cosmos.github.io/cosmjs/
Apache License 2.0
635 stars 328 forks source link

Support `timeout_height` signing #1547

Closed p0mvn closed 6 months ago

p0mvn commented 6 months ago

I'm investigating a way for signing transactions from FE clients with timeout_height enabled.

In the Osmosis FE codebase, I found this line which leads to this cosmjs type that I suspect is outdated.

My ultimate goal is to sign a transaction with the timeout_height. Would appreciate suggestions on how cosmjs can support this desire. We should probably extend the StdSignDoc to support this new field