Skip to content

Commit 7c9772f

Browse files
authored
EIP-7742 - Add target_blobs_per_block to Block schema (#601)
* EIP-7742 - Add target_blob_count to Block schema * Rename targetBlobCount -> targetBlobsPerBlock
1 parent 0066eeb commit 7c9772f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/eth/block.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
blobGasUsed: '0x0'
5959
excessBlobGas: '0x0'
6060
parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685'
61+
targetBlobsPerBlock: '0x3'
6162
- name: eth_getBlockByNumber
6263
summary: Returns information about a block by number.
6364
params:
@@ -118,6 +119,7 @@
118119
blobGasUsed: '0x0'
119120
excessBlobGas: '0x0'
120121
parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685'
122+
targetBlobsPerBlock: '0x3'
121123
- name: eth_getBlockTransactionCountByHash
122124
summary: Returns the number of transactions in a block from a block matching the given block hash.
123125
params:

src/schemas/block.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ Block:
8585
parentBeaconBlockRoot:
8686
title: Parent Beacon Block Root
8787
$ref: '#/components/schemas/hash32'
88+
targetBlobsPerBlock:
89+
title: Target blobs per block
90+
$ref: '#/components/schemas/uint64'
8891
size:
8992
title: Block size
9093
$ref: '#/components/schemas/uint'

0 commit comments

Comments
 (0)