Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
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
8 changes: 7 additions & 1 deletion apis/builder/blinded_blocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ post:
schema:
oneOf:
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
- $ref: "../../builder-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
Comment thread
ralexstokes marked this conversation as resolved.
examples:
bellatrix:
$ref: "../../builder-oapi.yaml#/components/examples/Bellatrix.SignedBlindedBeaconBlock"
capella:
$ref: "../../builder-oapi.yaml#/components/examples/Capella.SignedBlindedBeaconBlock"

responses:
"200":
Expand All @@ -34,14 +37,17 @@ post:
properties:
version:
type: string
enum: [ bellatrix ]
enum: [ bellatrix, capella ]
example: "bellatrix"
data:
oneOf:
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.ExecutionPayload"
- $ref: "../../builder-oapi.yaml#/components/schemas/Capella.ExecutionPayload"
examples:
bellatrix:
$ref: "../../builder-oapi.yaml#/components/examples/Bellatrix.ExecutionPayload"
capella:
$ref: "../../builder-oapi.yaml#/components/examples/Capella.ExecutionPayload"
"400":
description: Error response.
content:
Expand Down
22 changes: 12 additions & 10 deletions apis/builder/header.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,21 @@ get:
content:
application/json:
schema:
title: GetHeaderResponse
type: object
properties:
version:
type: string
enum: [ bellatrix ]
example: "bellatrix"
data:
oneOf:
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.SignedBuilderBid"
# discrimantor is required for schema validation to pass, as the examples could match more than one schema.
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
discriminator:
propertyName: version
mapping:
bellatrix: "../../builder-oapi.yaml#/components/schemas/Bellatrix.GetHeaderResponse"
capella: "../../builder-oapi.yaml#/components/schemas/Capella.GetHeaderResponse"
# GetHeaderResponse wrapper is required as `discriminator` can only be used at the same level as `oneOf`
oneOf:
- $ref: "../../builder-oapi.yaml#/components/schemas/Bellatrix.GetHeaderResponse"
- $ref: "../../builder-oapi.yaml#/components/schemas/Capella.GetHeaderResponse"
examples:
bellatrix:
$ref: "../../builder-oapi.yaml#/components/examples/Bellatrix.SignedBuilderBid"
capella:
$ref: "../../builder-oapi.yaml#/components/examples/Capella.SignedBuilderBid"
"204":
description: No header is available.
"400":
Expand Down
2 changes: 1 addition & 1 deletion beacon-apis
Submodule beacon-apis updated 95 files
+34 −1 .github/workflows/deploy.yaml
+2 −3 .github/workflows/main.yml
+8 −0 .redocly.yml
+0 −41 .spectral.yml
+48 −0 CHANGES.md
+4 −4 README.md
+11 −11 apis/beacon/blocks/attestations.yaml
+65 −0 apis/beacon/blocks/blinded_block.yaml
+8 −5 apis/beacon/blocks/blinded_blocks.yaml
+14 −12 apis/beacon/blocks/block.v2.yaml
+8 −10 apis/beacon/blocks/block.yaml
+15 −10 apis/beacon/blocks/blocks.yaml
+10 −10 apis/beacon/blocks/header.yaml
+7 −6 apis/beacon/blocks/headers.yaml
+10 −10 apis/beacon/blocks/root.yaml
+34 −0 apis/beacon/deposit_snapshot.yaml
+4 −5 apis/beacon/genesis.yaml
+63 −0 apis/beacon/light_client/bootstrap.yaml
+49 −0 apis/beacon/light_client/finality_update.yaml
+49 −0 apis/beacon/light_client/optimistic_update.yaml
+93 −0 apis/beacon/light_client/updates.yaml
+4 −5 apis/beacon/pool/attestations.yaml
+4 −5 apis/beacon/pool/attester_slashings.yaml
+48 −0 apis/beacon/pool/bls_to_execution_changes.yaml
+4 −5 apis/beacon/pool/proposer_slashings.yaml
+4 −5 apis/beacon/pool/voluntary_exists.yaml
+67 −0 apis/beacon/rewards/attestations.yaml
+52 −0 apis/beacon/rewards/blocks.yaml
+62 −0 apis/beacon/rewards/sync_committee.yaml
+8 −9 apis/beacon/states/committee.yaml
+10 −10 apis/beacon/states/finality_checkpoints.yaml
+10 −10 apis/beacon/states/fork.yaml
+69 −0 apis/beacon/states/randao.yaml
+7 −7 apis/beacon/states/root.yaml
+8 −9 apis/beacon/states/sync_committees.yaml
+6 −5 apis/beacon/states/validator.yaml
+6 −5 apis/beacon/states/validator_balances.yaml
+11 −12 apis/beacon/states/validators.yaml
+6 −6 apis/config/spec.yaml
+31 −0 apis/debug/fork_choice.yaml
+13 −11 apis/debug/state.v2.yaml
+0 −51 apis/debug/state.yaml
+22 −5 apis/eventstream/index.yaml
+9 −0 apis/node/health.yaml
+8 −10 apis/node/peer.yaml
+6 −1 apis/validator/aggregate_attestation.yaml
+6 −1 apis/validator/attestation_data.yaml
+15 −1 apis/validator/blinded_block.yaml
+12 −1 apis/validator/block.v2.yaml
+0 −56 apis/validator/block.yaml
+5 −6 apis/validator/duties/attester.yaml
+4 −5 apis/validator/duties/proposer.yaml
+4 −5 apis/validator/duties/sync.yaml
+64 −0 apis/validator/liveness.yaml
+2 −2 apis/validator/prepare_beacon_proposer.yaml
+4 −4 apis/validator/register_validator.yaml
+6 −1 apis/validator/sync_committee_contribution.yaml
+83 −11 beacon-node-oapi.yaml
+2 −91 dist/swagger-ui-bundle.js
+1 −1 dist/swagger-ui-bundle.js.map
+2 −21 dist/swagger-ui-standalone-preset.js
+1 −1 dist/swagger-ui-standalone-preset.js.map
+2 −2 dist/swagger-ui.css
+1 −1 dist/swagger-ui.css.map
+1 −8 dist/swagger-ui.js
+1 −1 dist/swagger-ui.js.map
+7 −11 index.html
+9 −0 params/index.yaml
+1 −2 types/altair/block.yaml
+71 −0 types/altair/light_client.yaml
+18 −35 types/altair/state.yaml
+1 −3 types/altair/sync_aggregate.yaml
+21 −2 types/api.yaml
+2 −5 types/attestation.yaml
+1 −2 types/bellatrix/block.yaml
+1 −0 types/bellatrix/execution_payload.yaml
+19 −36 types/bellatrix/state.yaml
+1 −2 types/block.yaml
+23 −0 types/bls_to_execution_change.yaml
+97 −0 types/capella/block.yaml
+55 −0 types/capella/execution_payload.yaml
+88 −0 types/capella/state.yaml
+6 −0 types/capella/transactions.yaml
+6 −0 types/capella/withdrawals.yaml
+101 −0 types/eip4844/block.yaml
+29 −0 types/eip4844/block_and_blobs_sidecar.yaml
+56 −0 types/eip4844/execution_payload.yaml
+88 −0 types/eip4844/state.yaml
+35 −0 types/fork_choice.yaml
+22 −0 types/http.yaml
+1 −1 types/p2p.yaml
+33 −0 types/primitive.yaml
+124 −0 types/rewards.yaml
+19 −37 types/state.yaml
+15 −0 types/withdrawal.yaml
18 changes: 16 additions & 2 deletions builder-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,21 @@ components:
$ref: "./beacon-apis/types/bellatrix/execution_payload.yaml#/Bellatrix/ExecutionPayload"
Bellatrix.SignedBlindedBeaconBlock:
$ref: "./beacon-apis/types/bellatrix/block.yaml#/Bellatrix/SignedBlindedBeaconBlock"

Bellatrix.SignedBuilderBid:
$ref: "./types/bellatrix/bid.yaml#/Bellatrix/SignedBuilderBid"
Bellatrix.GetHeaderResponse:
$ref: "./types/bellatrix/bid.yaml#/Bellatrix/GetHeaderResponse"
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
Capella.ExecutionPayload:
$ref: "./beacon-apis/types/capella/execution_payload.yaml#/Capella/ExecutionPayload"
Capella.SignedBlindedBeaconBlock:
$ref: "./beacon-apis/types/capella/block.yaml#/Capella/SignedBlindedBeaconBlock"
Capella.SignedBuilderBid:
$ref: "./types/capella/bid.yaml#/Capella/SignedBuilderBid"
Capella.GetHeaderResponse:
$ref: "./types/capella/bid.yaml#/Capella/GetHeaderResponse"
SignedValidatorRegistration:
$ref: "./beacon-apis/types/registration.yaml#/SignedValidatorRegistration"


responses:
InternalError:
$ref: "./types/http.yaml#/InternalError"
Expand All @@ -79,3 +87,9 @@ components:
$ref: "./examples/bellatrix/execution_payload.json"
Bellatrix.SignedBuilderBid:
$ref: "./examples/bellatrix/signed_builder_bid.json"
Capella.SignedBlindedBeaconBlock:
$ref: "./examples/capella/signed_blinded_beacon_block.json"
Capella.ExecutionPayload:
$ref: "./examples/capella/execution_payload.json"
Capella.SignedBuilderBid:
$ref: "./examples/capella/signed_builder_bid.json"
31 changes: 31 additions & 0 deletions examples/capella/execution_payload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"value": {
"version": "capella",
"data": {
"parent_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"fee_recipient": "0xabcf8e0d4e9587369b2301d0790347320302cc09",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"receipts_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"logs_bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"prev_randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"block_number": "1",
"gas_limit": "1",
"gas_used": "1",
"timestamp": "1",
"extra_data": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"base_fee_per_gas": "1",
"block_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"transactions": [
"0x02f878831469668303f51d843b9ac9f9843b9aca0082520894c93269b73096998db66be0441e836d873535cb9c8894a19041886f000080c001a031cc29234036afbf9a1fb9476b463367cb1f957ac0b919b69bbc798436e604aaa018c4e9c3914eb27aadd0b91e10b18655739fcf8c1fc398763a9f1beecb8ddc86"
],
"withdrawals": [
{
"index": "1",
"validator_index": "1",
"address": "0xabcf8e0d4e9587369b2301d0790347320302cc09",
"amount": "32000000000"
}
]
}
}
}
158 changes: 158 additions & 0 deletions examples/capella/signed_blinded_beacon_block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"value": {
"message": {
"slot": "1",
"proposer_index": "1",
"parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"body": {
"randao_reveal": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
"eth1_data": {
"deposit_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"deposit_count": "1",
"block_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"graffiti": "0xdeadbeefc0ffee",
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
"proposer_slashings": [
{
"signed_header_1": {
"message": {
"slot": "1",
"proposer_index": "1",
"parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"body_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
},
"signed_header_2": {
"message": {
"slot": "1",
"proposer_index": "1",
"parent_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"body_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}
],
"attester_slashings": [
{
"attestation_1": {
"attesting_indices": [
"1"
],
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
},
"attestation_2": {
"attesting_indices": [
"1"
],
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
}
}
],
"attestations": [
{
"aggregation_bits": "0x01",
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505",
"data": {
"slot": "1",
"index": "1",
"beacon_block_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"source": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"target": {
"epoch": "1",
"root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
}
}
}
],
"deposits": [
{
"proof": [
"0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
],
"data": {
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
"withdrawal_credentials": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"amount": "1",
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}
],
"voluntary_exits": [
{
"message": {
"epoch": "1",
"validator_index": "1"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
],
"sync_aggregate": {
"sync_committee_bits": "0x01",
"sync_committee_signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
},
"execution_payload_header": {
"parent_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"fee_recipient": "0xabcf8e0d4e9587369b2301d0790347320302cc09",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"receipts_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"logs_bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"prev_randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"block_number": "1",
"gas_limit": "1",
"gas_used": "1",
"timestamp": "1",
"extra_data": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"base_fee_per_gas": "1",
"block_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"transactions_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"withdrawals_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"bls_to_execution_changes": [
{
"message": {
"validator_index": "1",
"from_bls_pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a",
"to_execution_address": "0xabcf8e0d4e9587369b2301d0790347320302cc09"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
]
}
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}
29 changes: 29 additions & 0 deletions examples/capella/signed_builder_bid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"value": {
"version": "capella",
"data": {
"message": {
"header": {
"parent_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"fee_recipient": "0xabcf8e0d4e9587369b2301d0790347320302cc09",
"state_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"receipts_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"logs_bloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"prev_randao": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"block_number": "1",
"gas_limit": "1",
"gas_used": "1",
"timestamp": "1",
"extra_data": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"base_fee_per_gas": "1",
"block_hash": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"transactions_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2",
"withdrawals_root": "0xcf8e0d4e9587369b2301d0790347320302cc0943d5a1884560367e8208d920f2"
},
"value": "1",
"pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a"
},
"signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505"
}
}
}
21 changes: 21 additions & 0 deletions specs/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
- [`BlindedBeaconBlockBody`](#blindedbeaconblockbody)
- [`BlindedBeaconBlock`](#blindedbeaconblock)
- [`SignedBlindedBeaconBlock`](#signedblindedbeaconblock)
- [Capella](#capella)
- [`BlindedBeaconBlockBody`](#blindedbeaconblockbody-1)
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
- [Signing](#signing)
- [Endpoints](#endpoints)

Expand Down Expand Up @@ -121,6 +123,25 @@ class SignedBlindedBeaconBlock(Container):
signature: BLSSignature
```

#### Capella

##### `BlindedBeaconBlockBody`

```python
class BlindedBeaconBlockBody(Container):
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
randao_reveal: BLSSignature
eth1_data: Eth1Data
graffiti: Bytes32
proposer_slashings: List[ProposerSlashing, MAX_PROPOSER_SLASHINGS]
attester_slashings: List[AttesterSlashing, MAX_ATTESTER_SLASHINGS]
attestations: List[Attestation, MAX_ATTESTATIONS]
deposits: List[Deposit, MAX_DEPOSITS]
voluntary_exits: List[SignedVoluntaryExit, MAX_VOLUNTARY_EXITS]
sync_aggregate: SyncAggregate
execution_payload_header: ExecutionPayloadHeader
Comment thread
ralexstokes marked this conversation as resolved.
Outdated
bls_to_execution_changes: List[SignedBLSToExecutionChange, MAX_BLS_TO_EXECUTION_CHANGES] # [New in Capella]
```

### Signing

All signature operations should follow the [standard BLS operations][bls]
Expand Down
1 change: 1 addition & 0 deletions spellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ matrix:
aspell:
lang: en
d: en_US
ignore-case: true
run-together: true
run-together-min: 2
run-together-limit: 256
Expand Down
Loading