From 67a053d6ce53965aa4bd658a39a76e9bf93f0b69 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Fri, 21 Jun 2024 14:39:01 +0200 Subject: [PATCH] Refer to Altair gindices as that's where they were introduced --- specs/electra/light-client/sync-protocol.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specs/electra/light-client/sync-protocol.md b/specs/electra/light-client/sync-protocol.md index 6cfef2a5f..53a3bcb78 100644 --- a/specs/electra/light-client/sync-protocol.md +++ b/specs/electra/light-client/sync-protocol.md @@ -47,7 +47,7 @@ def finalized_root_gindex_at_slot(slot: Slot) -> GeneralizedIndex: # [Modified in Electra] if epoch >= ELECTRA_FORK_EPOCH: return FINALIZED_ROOT_GINDEX - return GeneralizedIndex(capella.FINALIZED_ROOT_GINDEX) + return GeneralizedIndex(altair.FINALIZED_ROOT_GINDEX) ``` ### Modified `current_sync_committee_gindex_at_slot` @@ -59,7 +59,7 @@ def current_sync_committee_gindex_at_slot(slot: Slot) -> GeneralizedIndex: # [Modified in Electra] if epoch >= ELECTRA_FORK_EPOCH: return CURRENT_SYNC_COMMITTEE_GINDEX - return GeneralizedIndex(capella.CURRENT_SYNC_COMMITTEE_GINDEX) + return GeneralizedIndex(altair.CURRENT_SYNC_COMMITTEE_GINDEX) ``` ### Modified `next_sync_committee_gindex_at_slot` @@ -71,7 +71,7 @@ def next_sync_committee_gindex_at_slot(slot: Slot) -> GeneralizedIndex: # [Modified in Electra] if epoch >= ELECTRA_FORK_EPOCH: return NEXT_SYNC_COMMITTEE_GINDEX - return GeneralizedIndex(capella.NEXT_SYNC_COMMITTEE_GINDEX) + return GeneralizedIndex(altair.NEXT_SYNC_COMMITTEE_GINDEX) ``` ### Modified `get_lc_execution_root`