From dbefbcf3261ff41f6d904946d7413749e5c3adcc Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 15 Jul 2022 11:59:11 +0200 Subject: [PATCH] Explicitly mention optional `finalized_block` --- specs/altair/sync-protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/altair/sync-protocol.md b/specs/altair/sync-protocol.md index ed1b02152..1fe375012 100644 --- a/specs/altair/sync-protocol.md +++ b/specs/altair/sync-protocol.md @@ -466,7 +466,7 @@ To form a `LightClientUpdate`, the following historical states and blocks are ne - `state`: the post state of any block with a post-Altair parent block - `block`: the corresponding block - `attested_state`: the post state of the block referred to by `block.parent_root` -- `finalized_block`: the block referred to by `attested_state.finalized_checkpoint.root` +- `finalized_block`: the block referred to by `attested_state.finalized_checkpoint.root`, if locally available (may be unavailable, e.g., when using checkpoint sync, or if it was pruned locally) ```python def create_light_client_update(state: BeaconState,