PR comments

This commit is contained in:
Lucas Saldanha 2024-08-23 10:12:19 +12:00
parent dc1892e113
commit b8ca7cc87b
1 changed files with 2 additions and 2 deletions

View File

@ -909,9 +909,9 @@ def process_effective_balance_updates(state: BeaconState) -> None:
@dataclass @dataclass
class NewPayloadRequest(object): class NewPayloadRequest(object):
execution_payload: ExecutionPayload execution_payload: ExecutionPayload
execution_requests: ExecutionLayerRequests
versioned_hashes: Sequence[VersionedHash] versioned_hashes: Sequence[VersionedHash]
parent_beacon_block_root: Root parent_beacon_block_root: Root
execution_requests: ExecutionLayerRequests # [New in Electra]
``` ```
### Block processing ### Block processing
@ -1067,7 +1067,7 @@ def process_execution_payload(state: BeaconState, body: BeaconBlockBody, executi
transactions_root=hash_tree_root(payload.transactions), transactions_root=hash_tree_root(payload.transactions),
withdrawals_root=hash_tree_root(payload.withdrawals), withdrawals_root=hash_tree_root(payload.withdrawals),
blob_gas_used=payload.blob_gas_used, blob_gas_used=payload.blob_gas_used,
excess_blob_gas=payload.excess_blob_gas excess_blob_gas=payload.excess_blob_gas,
) )
``` ```