mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-09 09:14:32 +00:00
Set target_blobs_per_block for Electra
This commit is contained in:
parent
2439a4c307
commit
9df5d98cc3
@ -1251,7 +1251,7 @@ def process_execution_payload(state: BeaconState, body: BeaconBlockBody, executi
|
|||||||
versioned_hashes=versioned_hashes,
|
versioned_hashes=versioned_hashes,
|
||||||
parent_beacon_block_root=state.latest_block_header.parent_root,
|
parent_beacon_block_root=state.latest_block_header.parent_root,
|
||||||
execution_requests=body.execution_requests, # [New in Electra]
|
execution_requests=body.execution_requests, # [New in Electra]
|
||||||
target_blobs_per_block=MAX_BLOBS_PER_BLOCK // 2, # [New in Electra:EIP7742]
|
target_blobs_per_block=TARGET_BLOBS_PER_BLOCK_ELECTRA, # [New in Electra:EIP7742]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
# Cache execution payload header
|
# Cache execution payload header
|
||||||
|
Loading…
x
Reference in New Issue
Block a user