ChainSafe / ChainSafe/lodestar
Proactively request missing payloads near/at deadline
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 483
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 150
Description
I had this idea before, to proactively request missing payload envelopes near/at the deadline as currently we solely rely on gossip which seems brittle. The main question here is when we wanna start requesting those, we could just do it at `PAYLOAD_DUE_BPS` but then our PTC will not vote for timely/available.
I randomly found this PR https://github.com/OffchainLabs/prysm/pull/16904 and seems like @potuz has the same idea for Prysm.
> Proactively request the payload when it hasn't arrived by the payload availability due time. If the payload is late we will attempt to reorg it in latePayloadTasks, however, if other peers get it on time, we will still have a chance to propose correctly on UpdateHead
I am guessing this was the result of them missing the payload on gossip and hence not building on FULL even though it was seen as timely/available by the PTC, and in such a scenario, the block that Prysm builds **should** be reorged out as attesters should favor the parent FULL instead of their block on EMPTY. See [discord](https://discord.com/channels/595666850260713488/1512505512309293126) for more details.
I would like to discuss this further before starting any implementation.
Contributor guide
Assessment
This issue has not been assessed yet.