File tree Expand file tree Collapse file tree
specs/electra/light-client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def finalized_root_gindex_at_slot(slot: Slot) -> GeneralizedIndex:
7070 # [Modified in Electra]
7171 if epoch >= ELECTRA_FORK_EPOCH :
7272 return FINALIZED_ROOT_GINDEX_ELECTRA
73- return GeneralizedIndex( FINALIZED_ROOT_GINDEX )
73+ return FINALIZED_ROOT_GINDEX
7474```
7575
7676### Modified ` current_sync_committee_gindex_at_slot `
@@ -82,7 +82,7 @@ def current_sync_committee_gindex_at_slot(slot: Slot) -> GeneralizedIndex:
8282 # [Modified in Electra]
8383 if epoch >= ELECTRA_FORK_EPOCH :
8484 return CURRENT_SYNC_COMMITTEE_GINDEX_ELECTRA
85- return GeneralizedIndex( CURRENT_SYNC_COMMITTEE_GINDEX )
85+ return CURRENT_SYNC_COMMITTEE_GINDEX
8686```
8787
8888### Modified ` next_sync_committee_gindex_at_slot `
@@ -94,7 +94,7 @@ def next_sync_committee_gindex_at_slot(slot: Slot) -> GeneralizedIndex:
9494 # [Modified in Electra]
9595 if epoch >= ELECTRA_FORK_EPOCH :
9696 return NEXT_SYNC_COMMITTEE_GINDEX_ELECTRA
97- return GeneralizedIndex( NEXT_SYNC_COMMITTEE_GINDEX )
97+ return NEXT_SYNC_COMMITTEE_GINDEX
9898```
9999
100100### Modified ` get_lc_execution_root `
You can’t perform that action at this time.
0 commit comments