cosmjs icon indicating copy to clipboard operation
cosmjs copied to clipboard

fix: return tx response data without ignoring it

Open youngjoon-lee opened this issue 3 years ago • 1 comments

The DeliverTxRepsonse interface already has a data field so that it can contain tx result data. But, it doesn't get the data and set it into the DeliverTxResponse when querying tx results internally.

So, I fixed it to read data from tx results properly.

youngjoon-lee avatar Aug 16 '22 00:08 youngjoon-lee

Hi @webmaster128 , It seems that CI jobs keep failing because of timeout from downloading docker images or initializing tendermint node. Since I don't have a permission to re-run jobs, I've pushed small commits to re-trigger CI jobs. But, it keeps failing. Different types of jobs fail each time. Could you re-run jobs or suggest any better way?

youngjoon-lee avatar Aug 17 '22 08:08 youngjoon-lee

Sorry for keeping you wait so long. I just wanted to implement this change in a new PR but ran into this upcoming Cosmos SDK change, which opens up a larger API design question: https://github.com/cosmos/cosmjs/issues/1305#issuecomment-1291116184. Whoever finds this PR, feel free to follow #1305 for updates on this matter.

webmaster128 avatar Oct 25 '22 20:10 webmaster128

@webmaster128 We're looking to get the response from a Txn using cosmjs on our chain running SDK 45, does this PR being closed and unmerged mean there is no way to do so?

TheMarstonConnell avatar Dec 19 '23 16:12 TheMarstonConnell

Looking at https://github.com/cosmos/cosmjs/issues/1305 it seems like I gave up on adding new features for 0.45 chains only. I guess the data is not available in the high level client.

webmaster128 avatar Dec 19 '23 22:12 webmaster128