From 65cfedef22cd90607ac4a8b63d83545f7820015c Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Mon, 27 Jun 2022 22:36:55 +0200 Subject: [PATCH] Update finality update documentation --- specs/altair/sync-protocol.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/specs/altair/sync-protocol.md b/specs/altair/sync-protocol.md index 23ef1ce66..5340a2015 100644 --- a/specs/altair/sync-protocol.md +++ b/specs/altair/sync-protocol.md @@ -170,8 +170,9 @@ def validate_light_client_update(store: LightClientStore, signature_period = compute_sync_committee_period(compute_epoch_at_slot(update.signature_slot)) assert signature_period in (finalized_period, finalized_period + 1) - # Verify that the `finalized_header`, if present, actually is the finalized header saved in the - # state of the `attested_header` + # Verify that the `finality_branch`, if present, confirms `finalized_header` + # to match the finalized checkpoint root saved in the state of `attested_header`. + # Note that the genesis finalized checkpoint root is represented as a zero hash. if not is_finality_update(update): assert update.finalized_header == BeaconBlockHeader() else: