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
Each handler is triggered by the slot ticker independently.
The CommitteeHandler relies on the data from the AttesterHandler and SyncCommitteeHandler to fetch and execute duties.
When the indicesChange signal is triggered, the attester and sync committee stores need to update their duties to reflect the latest state.
Due to the non-deterministic nature of the slot ticker, we encounter inconsistent behavior. Sometimes the indicesChange event is handled and executed within a single slot, while in other scenarios, it spans two slots, leading to potential race conditions and incorrect duty execution.
Problematic Scenario (Observed Behavior):
Slot 1: AttesterHandler receives the indicesChange trigger:
Slot 2: CommitteeHandler gets a ticker event and executes duties (based on outdated indices). AttesterHandler gets a ticker event and updates duties due to the indicesChange trigger.
Slot 3: CommitteeHandler executes duties, this time with updated indices, causing late duty execution for the indices change validators
The text was updated successfully, but these errors were encountered:
Each handler is triggered by the slot ticker independently.
The
CommitteeHandler
relies on the data from theAttesterHandler
andSyncCommitteeHandler
to fetch and execute duties.When the
indicesChange
signal is triggered, the attester and sync committee stores need to update their duties to reflect the latest state.Due to the non-deterministic nature of the slot ticker, we encounter inconsistent behavior. Sometimes the
indicesChange
event is handled and executed within a single slot, while in other scenarios, it spans two slots, leading to potential race conditions and incorrect duty execution.Problematic Scenario (Observed Behavior):
AttesterHandler
receives theindicesChange
trigger:CommitteeHandler
gets a ticker event and executes duties (based on outdated indices).AttesterHandler
gets a ticker event and updates duties due to the indicesChange trigger.CommitteeHandler
executes duties, this time with updated indices, causing late duty execution for the indices change validatorsThe text was updated successfully, but these errors were encountered: