-
Notifications
You must be signed in to change notification settings - Fork 340
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
SearchTx timeouts #1415
Comments
Additional note, this example code is super quick (<100 ms per query) let response = await axios.post("https://rpc-juno.mib.tech/", {
jsonrpc: "2.0",
id: 0,
method: 'tx_search',
params: {
query: `create_validator.validator='${val.operator_address}'`,
page: "1"
}
})
``` |
Thank you for debugging this. This sounds like a Tendermint bug to me then. Why should an additional numeric filter cause such a behaviour? |
that's a good question, I'll try to dig more into this |
I think the current abstraction level of searchTx is unsustainable anyways. I am considering to replace it with a much lower level version that avoids this sort of magic. |
I'm trying to search a CreateValidator Tx
With the current code, the HTTP request always timeout or get socket hang up
errors
cloudflare proxy
direct tcp
Using Juno CLI to query instead is always almost instant
junod q txs --events create_validator.validator=junovaloper1hvhyunq7qvykzvrcnhjj4xnkcla58xusk6r60g
that made me wonder why, so I did some logs and I notice some differences between the RPC call made by cosmjs and the one made from CLI
CosmJS:
CLI:
The default value for max tx.height is too high! By manually setting it in fact the 502 error is gone
I think we should entirely remove height filters if not specified
The text was updated successfully, but these errors were encountered: