Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

HeartbeatReceived event data does not match up with corresponding session key for validator #2

Open
akhanaton opened this issue Oct 9, 2019 · 0 comments

Comments

@akhanaton
Copy link

Description
I am querying the /api/v1/event endpoint and as expected getting the latest events. I am trying to work with "HeartbeatReceived" events. Here is an example of a response below:

image

The results are not very useful if I am unable to connect them to the Validator that emited the message in the first place. My understanding is the value field in the attributes array should correlate with the session key currently associated with that specific validator.

So the logical thing would be to now query /api/v1/session/validator and look for the corresponding validator.

Issue

The is no validator that has a corresponding Id. I went a step further and used the raw value from the event to see if there is a corresponding session_id (example below):

image

None of the current six validator's session_id match any of the "valueRaw" fields of the events endpoint.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant