Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EIP-7742 - Add target_blob_count to Block schema #601

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
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