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
However the node syncing endpoint in here returns *api.Response[*apiv1.SyncState] and this is how SyncState looks like- it is missing field el_offline.
// SyncState is the data regarding the node's synchronization state to the chain.
type SyncState struct {
// HeadSlot is the head slot of the chain as understood by the node.
HeadSlot phase0.Slot
// SyncDistance is the distance between the node's highest synced slot and the head slot.
SyncDistance phase0.Slot
// IsOptimistic is true if the node is optimistic.
IsOptimistic bool
// IsSyncing is true if the node is syncing.
IsSyncing bool
}
I am happy to raise a PR to fix this.
The text was updated successfully, but these errors were encountered:
The beacon API spec returns the output below
However the node syncing endpoint in here returns
*api.Response[*apiv1.SyncState]
and this is how SyncState looks like- it is missing field el_offline.I am happy to raise a PR to fix this.
The text was updated successfully, but these errors were encountered: