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

The /cosmos/tx/v1beta1/txs/{hash} endpoint should return a 404 error if no tx is found for the given hash #10985

Closed
4 tasks
zenit70 opened this issue Jan 20, 2022 · 2 comments · Fixed by #10992
Closed
4 tasks
Assignees

Comments

@zenit70
Copy link

zenit70 commented Jan 20, 2022

Summary of Bug

The /cosmos/tx/v1beta1/txs/{hash} endpoint should return a 404 error if no transaction is found for the given hash. At the moment the API returns a 400 bad request error.

Version

Cosmos SDK v0.42.6 (Gaia v5.0.2 / cosmoshub-4)

Steps to Reproduce

curl -v "https://api.cosmos.network/cosmos/tx/v1beta1/txs/29049BC678EECAB036E5B2FCCB2148837B118F903591713257DE1F720143F2FA"

Similar issue

#3639


For Admin Use

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

thank you for opening this issue, makes sense. Would you like to open a pr with this fix?

@zenit70
Copy link
Author

zenit70 commented Jan 20, 2022

Sorry, but I am a frontend developer. If there is no one who can provide the fix for this issue, I'll possibly ask to a developer on my team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants