Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadcast timeout should still display the TxHash #12144

Closed
4 tasks
greg-szabo opened this issue Jun 3, 2022 · 5 comments
Closed
4 tasks

Broadcast timeout should still display the TxHash #12144

greg-szabo opened this issue Jun 3, 2022 · 5 comments

Comments

@greg-szabo
Copy link
Member

When broadcasting a transaction, the binary might fail to wait for the transaction to be included in a block with the error:

Error: RPC error -32603 - Internal error: timed out waiting for tx to be included in a block

BUT the transaction hash is already available so it should be printed so the user can troubleshoot the issue further using other methods.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@alexanderbez
Copy link
Contributor

This is fair, but note, broadcast mode block is deprecated and should not really be used at all.

@greg-szabo
Copy link
Member Author

The error message comes from execution with the default broadcast mode of sync.

But regardless of the broadcast mode, the TxHash should be returned, I think. It would really help troubleshooting for the end-user.

@alexanderbez
Copy link
Contributor

This doesn't doesn't sound right. If you see the "timed out waiting for tx to be included in a block" error message, that means block mode was used, indicating that sync is not the real default.

What app and version of the app were you using?

@greg-szabo
Copy link
Member Author

Hm... I think I might remember incorrectly and it might have been block. I'll double-check. It was either SDK 0.44 or 0.45 (possibly gaiad and/or osmosisd.)

@greg-szabo
Copy link
Member Author

The default on recent binaries is "sync" both in gaiad and osmosisd. I'll close this and keep track of #12167 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants