ChainSafe / ChainSafe/lodestar

Review prepare next slot in gloas

Open
#9,286 2 comments 0 reactions 0 assignees View on GitHub
spec-gloas
Dominant language
TypeScript
Stars
1.4k
Forks
483
Avg merge
1d 16h
Merged PRs (30d)
150

Description

we need to review how our `prepareNextSlot` timings work in gloas, especifically we need to check timings for
- when to run the scheduler, current 8 seconds in the slot, but I think it can be moved to 6 seconds because aggregation is done at that point `AGGREGATE_DUE_BPS_GLOAS = 5000`
- see when we sent FCU with payload attributes
- if we have the payload at 6 seconds when scheduler runs, sent it right away
- otherwise define some time (maybe 10 seconds, ptc deadline + 1 second to process it) to do payload attributes to build on EMPTY
- or as soon as we receive the payload based on `execution_payload` we can send the FCU with payload attrivbutes
- later once the PTC is more stable and all clients have it implemented, we can also include the PTC tiebreaker decision to reorg the payload and/or make a more informed decision on whether to build on FULL or EMPTY, ie. even if we have the payload we might wanna build on EMPTY if the PTC votes against the payload or it's DA being available

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.