Skip to content

Commit c57a90a

Browse files
authored
Rename *_blob_count to *_blobs_per_block
1 parent 6c635ee commit c57a90a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

specs/electra/fork-choice.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ class PayloadAttributes(object):
3333
suggested_fee_recipient: ExecutionAddress
3434
withdrawals: Sequence[Withdrawal]
3535
parent_beacon_block_root: Root
36-
target_blob_count: uint64 # [New in Electra]
37-
maximum_blob_count: uint64 # [New in Electra]
36+
target_blobs_per_block: uint64 # [New in Electra:EIP7742]
37+
maximum_blobs_per_block: uint64 # [New in Electra:EIP7742]
3838
```

specs/electra/validator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ def prepare_execution_payload(state: BeaconState,
176176
suggested_fee_recipient=suggested_fee_recipient,
177177
withdrawals=withdrawals,
178178
parent_beacon_block_root=hash_tree_root(state.latest_block_header),
179-
target_blob_count=MAX_BLOBS_PER_BLOCK // 2, # [New in Electra]
180-
maximum_blob_count=MAX_BLOBS_PER_BLOCK, # [New in Electra]
179+
target_blobs_per_block=MAX_BLOBS_PER_BLOCK // 2, # [New in Electra:EIP7742]
180+
maximum_blobs_per_block=MAX_BLOBS_PER_BLOCK, # [New in Electra:EIP7742]
181181
)
182182
return execution_engine.notify_forkchoice_updated(
183183
head_block_hash=parent_hash,

0 commit comments

Comments
 (0)