-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Sessions] Block hash store does not update correctly #366
Comments
It seems that Tendermint is broadcasting new blocks to the off-chain actors (through websocket) and to Cosmos at the same time. Making the off-chain actors aware of the latest block height This results in having the session querier trying to hydrate
|
Is this not expected behaviour?
I looked at the list of events and found this:
Maybe it's as simple as simply storing the hash on |
Some notes regarding context:
Asks:
|
|
Added more logs and put the hash storing procedure in the In these logs we see:
I will challenge our assumption that the block hash we get from |
Happy ending and assumption broken.
Will open a PR fixing the |
Closed as per #368 |
Objective
Fix
session mismatch
errors occurring whenRelayRequests
are processed at some specific block heights.Have a flawless relaying process at any time in a session or a rolled-over session and at any
RelayRequest
volume.Origin Document
Resulting
RelayResponse
Sequencer's logs
Goals
session mismatch
error is occurring duringRelayRequest
verification that may be caused byGetSession
being called at sensitive points in time.GetSession
queries.Deliverables
GetSession
may not have access to the storedblockHash
used insessionId
construction.Non-goals / Non-deliverables
General deliverables
Creator: @red-0ne
Co-Owners: @Olshansk
The text was updated successfully, but these errors were encountered: