Commit a1787c6
Add and update types for Capella (#60)
* Add and update types for Capella
* Fix schema validation by adding discriminator to response
* Add builder api types for Capella
* Fix incorrect comments
* Regenerate builder.md TOC
* Update beacon block examples to be more realistic
* Fix bid schema field ordering
Co-authored-by: Alex Stokes <[email protected]>
* Fix capella bid field ordering
* Restructure spec files
* Add consensus version header to submitBlindedBlock request
* Revert "Fix schema validation by adding discriminator to response"
This reverts commit 702791c.
* Fix validator spec heading
Co-authored-by: Alex Stokes <[email protected]>
* Update beacon API submodule to latest
---------
Co-authored-by: Alex Stokes <[email protected]>1 parent 540bcca commit a1787c6
File tree
15 files changed
+397
-15
lines changed- apis/builder
- examples
- bellatrix
- capella
- specs
- bellatrix
- capella
- types
- bellatrix
- capella
15 files changed
+397
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| 33 | + | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
| |||
34 | 44 | | |
35 | 45 | | |
36 | 46 | | |
37 | | - | |
| 47 | + | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
47 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
Submodule beacon-apis updated 96 files
- .github/workflows/deploy.yaml+34-1
- .github/workflows/main.yml+2-3
- .gitignore+1
- .redocly.yml+8
- .spectral.yml-41
- CHANGES.md+51
- README.md+5-5
- apis/beacon/blocks/attestations.yaml+11-11
- apis/beacon/blocks/blinded_block.yaml+64
- apis/beacon/blocks/blinded_blocks.yaml+7-5
- apis/beacon/blocks/block.v2.yaml+13-12
- apis/beacon/blocks/block.yaml+8-10
- apis/beacon/blocks/blocks.yaml+14-10
- apis/beacon/blocks/header.yaml+10-10
- apis/beacon/blocks/headers.yaml+7-6
- apis/beacon/blocks/root.yaml+10-10
- apis/beacon/deposit_snapshot.yaml+34
- apis/beacon/genesis.yaml+4-5
- apis/beacon/light_client/bootstrap.yaml+65
- apis/beacon/light_client/finality_update.yaml+51
- apis/beacon/light_client/optimistic_update.yaml+51
- apis/beacon/light_client/updates.yaml+96
- apis/beacon/pool/attestations.yaml+4-5
- apis/beacon/pool/attester_slashings.yaml+4-5
- apis/beacon/pool/bls_to_execution_changes.yaml+48
- apis/beacon/pool/proposer_slashings.yaml+4-5
- apis/beacon/pool/voluntary_exists.yaml+4-5
- apis/beacon/rewards/attestations.yaml+67
- apis/beacon/rewards/blocks.yaml+52
- apis/beacon/rewards/sync_committee.yaml+62
- apis/beacon/states/committee.yaml+8-9
- apis/beacon/states/finality_checkpoints.yaml+10-10
- apis/beacon/states/fork.yaml+10-10
- apis/beacon/states/randao.yaml+69
- apis/beacon/states/root.yaml+7-7
- apis/beacon/states/sync_committees.yaml+8-9
- apis/beacon/states/validator.yaml+6-5
- apis/beacon/states/validator_balances.yaml+6-5
- apis/beacon/states/validators.yaml+11-12
- apis/config/spec.yaml+6-6
- apis/debug/fork_choice.yaml+31
- apis/debug/state.v2.yaml+12-11
- apis/debug/state.yaml-51
- apis/eventstream/index.yaml+22-5
- apis/node/health.yaml+9
- apis/node/peer.yaml+8-10
- apis/node/syncing.yaml+4-1
- apis/validator/aggregate_attestation.yaml+6-1
- apis/validator/attestation_data.yaml+6-1
- apis/validator/beacon_committee_selections.yaml+43
- apis/validator/blinded_block.yaml+14-1
- apis/validator/block.v2.yaml+11-1
- apis/validator/block.yaml-56
- apis/validator/duties/attester.yaml+5-6
- apis/validator/duties/proposer.yaml+4-5
- apis/validator/duties/sync.yaml+4-5
- apis/validator/liveness.yaml+64
- apis/validator/prepare_beacon_proposer.yaml+2-2
- apis/validator/register_validator.yaml+4-4
- apis/validator/sync_committee_contribution.yaml+6-1
- apis/validator/sync_committee_selections.yaml+41
- beacon-node-oapi.yaml+93-13
- dist/swagger-ui-bundle.js+2-91
- dist/swagger-ui-bundle.js.map+1-1
- dist/swagger-ui-standalone-preset.js+2-21
- dist/swagger-ui-standalone-preset.js.map+1-1
- dist/swagger-ui.css+2-2
- dist/swagger-ui.css.map+1-1
- dist/swagger-ui.js+1-8
- dist/swagger-ui.js.map+1-1
- index.html+7-11
- params/index.yaml+9
- types/altair/block.yaml+1-2
- types/altair/light_client.yaml+77
- types/altair/state.yaml+18-35
- types/altair/sync_aggregate.yaml+1-3
- types/api.yaml+21-2
- types/attestation.yaml+2-5
- types/bellatrix/block.yaml+3-4
- types/bellatrix/state.yaml+19-36
- types/bellatrix/transactions.yaml+1-2
- types/block.yaml+1-2
- types/bls_to_execution_change.yaml+23
- types/capella/block.yaml+97
- types/capella/execution_payload.yaml+54
- types/capella/light_client.yaml+67
- types/capella/state.yaml+88
- types/capella/withdrawals.yaml+6
- types/fork_choice.yaml+35
- types/http.yaml+44
- types/p2p.yaml+1-1
- types/primitive.yaml+26
- types/rewards.yaml+124
- types/selection.yaml+35
- types/state.yaml+19-37
- types/withdrawal.yaml+15
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | | - | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
79 | 83 | | |
80 | 84 | | |
81 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
105 | 137 | | |
106 | 138 | | |
107 | 139 | | |
| |||
144 | 176 | | |
145 | 177 | | |
146 | 178 | | |
147 | | - | |
| 179 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments