-
Notifications
You must be signed in to change notification settings - Fork 176
/
Copy pathlight_client.yaml
77 lines (75 loc) · 2.59 KB
/
light_client.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Altair:
FinalityBranch:
type: array
items:
$ref: '../primitive.yaml#/Root'
description: "Merkle proof consisting of [`log2trunc(FINALIZED_ROOT_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots"
minItems: 6
maxItems: 6
CurrentSyncCommitteeBranch:
type: array
items:
$ref: '../primitive.yaml#/Root'
description: "Merkle proof consisting of [`log2trunc(CURRENT_SYNC_COMMITTEE_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots"
minItems: 5
maxItems: 5
NextSyncCommitteeBranch:
type: array
items:
$ref: '../primitive.yaml#/Root'
description: "Merkle proof consisting of [`log2trunc(NEXT_SYNC_COMMITTEE_INDEX])`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/altair/light-client/sync-protocol.md#constants) roots"
minItems: 5
maxItems: 5
LightClientHeader:
type: object
properties:
beacon:
$ref: '../block.yaml#/BeaconBlockHeader'
LightClientBootstrap:
type: object
properties:
header:
$ref: '#/Altair/LightClientHeader'
current_sync_committee:
$ref: './sync_committee.yaml#/Altair/SyncCommittee'
current_sync_committee_branch:
$ref: '#/Altair/CurrentSyncCommitteeBranch'
LightClientUpdate:
type: object
properties:
attested_header:
$ref: '#/Altair/LightClientHeader'
next_sync_committee:
$ref: './sync_committee.yaml#/Altair/SyncCommittee'
next_sync_committee_branch:
$ref: '#/Altair/NextSyncCommitteeBranch'
finalized_header:
$ref: '#/Altair/LightClientHeader'
finality_branch:
$ref: '#/Altair/FinalityBranch'
sync_aggregate:
$ref: './sync_aggregate.yaml#/Altair/SyncAggregate'
signature_slot:
$ref: '../primitive.yaml#/Uint64'
LightClientFinalityUpdate:
type: object
properties:
attested_header:
$ref: '#/Altair/LightClientHeader'
finalized_header:
$ref: '#/Altair/LightClientHeader'
finality_branch:
$ref: '#/Altair/FinalityBranch'
sync_aggregate:
$ref: './sync_aggregate.yaml#/Altair/SyncAggregate'
signature_slot:
$ref: '../primitive.yaml#/Uint64'
LightClientOptimisticUpdate:
type: object
properties:
attested_header:
$ref: '#/Altair/LightClientHeader'
sync_aggregate:
$ref: './sync_aggregate.yaml#/Altair/SyncAggregate'
signature_slot:
$ref: '../primitive.yaml#/Uint64'