KomodoPlatform / komodo-defi-framework

This is the official Komodo DeFi Framework repository
https://komodoplatform.com/en/docs/komodo-defi-framework/
104 stars 93 forks source link

Tendermint. tx.height condition makes tx_search requests extremely slow. #1587

Open artemii235 opened 1 year ago

artemii235 commented 1 year ago

Ivan reported a problem with ATOM tx history not displaying in WebDEX. We could see that https://rpc.atomscan.com is constantly returning 502 for tx_search requests made during history fetching. Request to https://cosmos-mainnet-rpc.allthatnode.com:26657 worked, but took dozens of seconds to complete. After I tried to remove tx.height condition, both nodes started returning the response immediately.

I will also create an issue in Cosmos SDK repo to ask why it happens.

artemii235 commented 1 year ago

The problem is fixed, but I will keep it open unless https://github.com/cosmos/cosmos-sdk/issues/14433 is replied and/or fixed.

artemii235 commented 1 year ago

UPD: I was forwarded to tendermint repo, discussion: https://github.com/tendermint/tendermint/discussions/9968

artemii235 commented 1 year ago

Also created thread in Discord because I have not got any reply in Tendermint repo discussion: https://discord.com/channels/669268347736686612/1019978171367559208/threads/1062332784519168030