Skip to content

Commit

Permalink
EIP-7742 - Add target_blob_count to Block schema
Browse files Browse the repository at this point in the history
  • Loading branch information
siladu committed Oct 28, 2024
1 parent 4140e52 commit 5be2518
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'
targetBlobCount: '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'
targetBlobCount: '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'
targetBlobCount:
title: Target blob count
$ref: '#/components/schemas/uint64'
size:
title: Block size
$ref: '#/components/schemas/uint'
Expand Down

0 comments on commit 5be2518

Please sign in to comment.