Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions specs/capella/light-client/sync-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,21 @@ class LightClientHeader(Container):
execution_branch: ExecutionBranch
```

### Modified `LightClientUpdate`

```python
class LightClientUpdate(Container):
# [Modified in Capella] References the Capella-specific LightClientHeader
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the fork comments (eg [Modified in <fork>]) let's remove the extra sentence to the right.

Suggested change
# [Modified in Capella] References the Capella-specific LightClientHeader
# [Modified in Capella]

attested_header: LightClientHeader
next_sync_committee: SyncCommittee
next_sync_committee_branch: NextSyncCommitteeBranch
# [Modified in Capella] References the Capella-specific LightClientHeader
finalized_header: LightClientHeader
finality_branch: FinalityBranch
sync_aggregate: SyncAggregate
signature_slot: Slot
```

## Helper functions

### `get_lc_execution_root`
Expand Down
17 changes: 17 additions & 0 deletions specs/deneb/light-client/sync-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,23 @@ Additional documents describes the impact of the upgrade on certain roles:
- [Full node](./full-node.md)
- [Networking](./p2p-interface.md)

## Containers

### Modified `LightClientUpdate`

```python
class LightClientUpdate(Container):
# [Modified in Deneb] References the Deneb-specific LightClientHeader
attested_header: LightClientHeader
next_sync_committee: SyncCommittee
next_sync_committee_branch: NextSyncCommitteeBranch
# [Modified in Deneb] References the Deneb-specific LightClientHeader
finalized_header: LightClientHeader
finality_branch: FinalityBranch
sync_aggregate: SyncAggregate
signature_slot: Slot
```

## Helper functions

### Modified `get_lc_execution_root`
Expand Down
17 changes: 17 additions & 0 deletions specs/electra/light-client/sync-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,23 @@ Existing `GeneralizedIndex` constants are frozen at their
| `CURRENT_SYNC_COMMITTEE_GINDEX_ELECTRA` | `get_generalized_index(BeaconState, 'current_sync_committee')` (= 86) |
| `NEXT_SYNC_COMMITTEE_GINDEX_ELECTRA` | `get_generalized_index(BeaconState, 'next_sync_committee')` (= 87) |

## Containers

### Modified `LightClientUpdate`

```python
class LightClientUpdate(Container):
# [Modified in Electra] References the Electra-specific LightClientHeader
attested_header: LightClientHeader
next_sync_committee: SyncCommittee
next_sync_committee_branch: NextSyncCommitteeBranch
# [Modified in Electra] References the Electra-specific LightClientHeader
finalized_header: LightClientHeader
finality_branch: FinalityBranch
sync_aggregate: SyncAggregate
signature_slot: Slot
```

## Helper functions

### Modified `finalized_root_gindex_at_slot`
Expand Down
Loading