Closed pharr117 closed 11 months ago
The block enqueue method for transactions is supposed to guard against passing blocks to the transaction indexer that are not available.
It does this by making sure any block it is passing along the block queue is < latest height.
We seem to have a bug in the block enqueue method that is causing the transaction indexer to make RPC requests for blocks that are not available yet:
This function must have a bug:
https://github.com/DefiantLabs/cosmos-indexer/blob/ca3f6255686451b69590ef4fdcfce3bfbc259fc2/cmd/block_enqueue.go#L135-L139
The block enqueue method for transactions is supposed to guard against passing blocks to the transaction indexer that are not available.
It does this by making sure any block it is passing along the block queue is < latest height.
We seem to have a bug in the block enqueue method that is causing the transaction indexer to make RPC requests for blocks that are not available yet:
This function must have a bug:
https://github.com/DefiantLabs/cosmos-indexer/blob/ca3f6255686451b69590ef4fdcfce3bfbc259fc2/cmd/block_enqueue.go#L135-L139