nimbus-eth2/beacon_chain/validator_client
Etan Kissling e9262ab6a3
ensure sync duties for next epoch are registered in time (#5084)
* ensure sync duties for next epoch are registered in time

For attestations, VC queries duties for current and next epoch.
For sync messages, VC queries for current and next period (if soon).
This means that for sync messages we don't actually have the duties for
next epoch in all situations, leading to situation where VC may miss
sync duties in the final slot of an epoch when using. As duties remain
same within a sync committee period, simply copy them over to next epoch
to avoid this situation without adding network latency.

* Update beacon_chain/validator_client/duties_service.nim

Co-authored-by: Jacek Sieka <jacek@status.im>

---------

Co-authored-by: Jacek Sieka <jacek@status.im>
2023-06-16 08:42:57 +00:00
..
api.nim VC: Use SSZ encoding while processing blocks data (#4999) 2023-06-14 08:04:15 +02:00
attestation_service.nim VC: Remote BN received block monitoring. (#4856) 2023-06-08 10:44:32 +02:00
block_service.nim fix chronos deprecation warning (#5048) 2023-06-09 23:43:28 +00:00
common.nim VC: Remote BN received block monitoring. (#4856) 2023-06-08 10:44:32 +02:00
doppelganger_service.nim VC: Logging changes (#4994) 2023-05-30 11:38:34 +03:00
duties_service.nim ensure sync duties for next epoch are registered in time (#5084) 2023-06-16 08:42:57 +00:00
fallback_service.nim VC: Logging changes (#4994) 2023-05-30 11:38:34 +03:00
fork_service.nim VC: Logging changes (#4994) 2023-05-30 11:38:34 +03:00
sync_committee_service.nim VC: Use SSZ encoding while processing blocks data (#4999) 2023-06-14 08:04:15 +02:00