-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implements the light client data format for Capella: - ethereum/consensus-specs#3151
- Loading branch information
1 parent
7093a42
commit 5649a3a
Showing
10 changed files
with
110 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
Capella: | ||
ExecutionBranch: | ||
type: array | ||
items: | ||
$ref: '../primitive.yaml#/Root' | ||
description: "Merkle proof consisting of [`log2trunc(EXECUTION_PAYLOAD_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0-rc.2/specs/capella/light-client/sync-protocol.md#constants) roots" | ||
minItems: 4 | ||
maxItems: 4 | ||
|
||
LightClientHeader: | ||
type: object | ||
properties: | ||
beacon: | ||
$ref: '../block.yaml#/BeaconBlockHeader' | ||
execution: | ||
$ref: './execution_payload.yaml#/Capella/ExecutionPayloadHeader' | ||
execution_branch: | ||
$ref: '#/Capella/ExecutionBranch' | ||
|
||
LightClientBootstrap: | ||
type: object | ||
properties: | ||
header: | ||
$ref: '#/Capella/LightClientHeader' | ||
current_sync_committee: | ||
$ref: '../altair/sync_committee.yaml#/Altair/SyncCommittee' | ||
current_sync_committee_branch: | ||
$ref: '../altair/light_client.yaml#/Altair/CurrentSyncCommitteeBranch' | ||
LightClientUpdate: | ||
type: object | ||
properties: | ||
attested_header: | ||
$ref: '#/Capella/LightClientHeader' | ||
next_sync_committee: | ||
$ref: '../altair/sync_committee.yaml#/Altair/SyncCommittee' | ||
next_sync_committee_branch: | ||
$ref: '../altair/light_client.yaml#/Altair/NextSyncCommitteeBranch' | ||
finalized_header: | ||
$ref: '#/Capella/LightClientHeader' | ||
finality_branch: | ||
$ref: '../altair/light_client.yaml#/Altair/FinalityBranch' | ||
sync_aggregate: | ||
$ref: '../altair/sync_aggregate.yaml#/Altair/SyncAggregate' | ||
signature_slot: | ||
$ref: '../primitive.yaml#/Uint64' | ||
LightClientFinalityUpdate: | ||
type: object | ||
properties: | ||
attested_header: | ||
$ref: '#/Capella/LightClientHeader' | ||
finalized_header: | ||
$ref: '#/Capella/LightClientHeader' | ||
finality_branch: | ||
$ref: '../altair/light_client.yaml#/Altair/FinalityBranch' | ||
sync_aggregate: | ||
$ref: '../altair/sync_aggregate.yaml#/Altair/SyncAggregate' | ||
signature_slot: | ||
$ref: '../primitive.yaml#/Uint64' | ||
LightClientOptimisticUpdate: | ||
type: object | ||
properties: | ||
attested_header: | ||
$ref: '#/Capella/LightClientHeader' | ||
sync_aggregate: | ||
$ref: '../altair/sync_aggregate.yaml#/Altair/SyncAggregate' | ||
signature_slot: | ||
$ref: '../primitive.yaml#/Uint64' |
This file was deleted.
Oops, something went wrong.