mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 12:47:05 +00:00
Two fixes for GLOaS range sync: 1. DuplicateFullyImported: persist envelope for blocks that are already in fork choice (e.g. post-checkpoint-sync blocks between finalized and head). 2. load_parent: if parent envelope isn't in store, check if parent is already in fork choice. If it is, the parent was already imported and validated — proceed without requiring the envelope in store. This handles the case where PayloadEnvelopesByRange doesn't return envelopes for all blocks (fewer envelopes than blocks).