Skip to content

Commit

Permalink
EIP-7742 - Add target_blobs_per_block to Block schema (ethereum#601)
Browse files Browse the repository at this point in the history
* EIP-7742 - Add target_blob_count to Block schema

* Rename targetBlobCount -> targetBlobsPerBlock
  • Loading branch information
siladu authored Dec 6, 2024
1 parent 0066eeb commit 7c9772f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/eth/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
blobGasUsed: '0x0'
excessBlobGas: '0x0'
parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685'
targetBlobsPerBlock: '0x3'
- name: eth_getBlockByNumber
summary: Returns information about a block by number.
params:
Expand Down Expand Up @@ -118,6 +119,7 @@
blobGasUsed: '0x0'
excessBlobGas: '0x0'
parentBeaconBlockRoot: '0x95c4dbd5b19f6fe3cbc3183be85ff4e85ebe75c5b4fc911f1c91e5b7a554a685'
targetBlobsPerBlock: '0x3'
- name: eth_getBlockTransactionCountByHash
summary: Returns the number of transactions in a block from a block matching the given block hash.
params:
Expand Down
3 changes: 3 additions & 0 deletions src/schemas/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ Block:
parentBeaconBlockRoot:
title: Parent Beacon Block Root
$ref: '#/components/schemas/hash32'
targetBlobsPerBlock:
title: Target blobs per block
$ref: '#/components/schemas/uint64'
size:
title: Block size
$ref: '#/components/schemas/uint'
Expand Down

0 comments on commit 7c9772f

Please sign in to comment.