-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Bug]: /cosmos/tx/v1beta1/txs?query=tx.height= response error #20364
Comments
here is an example: it's for dydx on dydx-testnet-4 network. api: https://test-dydx-rest.kingnodes.com/cosmos/tx/v1beta1/txs?query=tx.height=12242164 |
it seems the block has not been created so there is no information. we should return a better error for sure. Ill open a quick pr |
it seems we do check for height: cosmos-sdk/x/auth/tx/service.go Lines 191 to 195 in 7009a2e
could you be using an old binary. I believe dydx is on 0.50 |
do you mean I use the old dydx binary? yes dydx is on 0.50. |
I can provide the normal example https://dydx-testnet-api.polkachu.com/cosmos/tx/v1beta1/txs?query=tx.height=10242164 here is an old block, it works well. is it different? |
the link you posted above (https://test-dydx-rest.kingnodes.com/cosmos/tx/v1beta1/txs?query=tx.height=12242164) is for a future block so there is nothing to return. The error is not descriptive |
but it's not future block. here is info in explore https://testnet.dydx.explorers.guru/block/12242164, is it buggy? |
oh weird mintscan shows its in the future, my bad. I believe this would fix your query #20323. The issue seems related to vote extensions not being able to be decoded. Even in https://testnet.dydx.explorers.guru/block/12242164 the tx fails parsing. Dydx is running a fork of the sdk so they will need to take the above pr and put it on their fork to fix your issue |
cool. it's clear on my side. let me sync to the team. thanks a lot |
closing this for now. If you have further questions or run into more issues please reopen and ill try to answer as fast as possible |
Is there an existing issue for this?
What happened?
it response error expected 2 wire type, got 0: tx parse error
Cosmos SDK Version
0.47
How to reproduce?
No response
The text was updated successfully, but these errors were encountered: