You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An ABCI query request is sent via light client proxy with the default height (0) which means to query against the latest state
Light client successfully receives the response, and tries to update itself for the next height (H+1)
A block with H+1 is not created yet, and light client fails with height requested is too high error
What you expected to happen:
Probably one of the following should happen (be configurable):
Option1: light client waits until the new block (H+1) is committed
Option2: if query against the latest state needs to be done, perform query against latestHeight-1 instead (need to calculate lateststate-1 properly to make sure that we don't get an outdated request if latest state is taken from a malicious primary node)
Tendermint version: v0.34.14
What happened:
height requested is too high
errorWhat you expected to happen:
Probably one of the following should happen (be configurable):
It looks like Option2 is used for
block_results
request (BlockResults
in https://github.com/tendermint/tendermint/blob/master/light/rpc/client.go)The text was updated successfully, but these errors were encountered: