Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status committed Jun 21, 2024
1 parent 2035a9f commit ea04148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/electra/light-client/sync-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 capella.FINALIZED_ROOT_GINDEX
return GeneralizedIndex(capella.FINALIZED_ROOT_GINDEX)
```

### Modified `current_sync_committee_gindex_at_slot`
Expand All @@ -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 capella.CURRENT_SYNC_COMMITTEE_GINDEX
return GeneralizedIndex(capella.CURRENT_SYNC_COMMITTEE_GINDEX)
```

### Modified `next_sync_committee_gindex_at_slot`
Expand All @@ -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 capella.NEXT_SYNC_COMMITTEE_GINDEX
return GeneralizedIndex(capella.NEXT_SYNC_COMMITTEE_GINDEX)
```

### Modified `get_lc_execution_root`
Expand Down

0 comments on commit ea04148

Please sign in to comment.