You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: The function verify_and_notify_new_payload is modified to pass the additional parameter il_transactions
when calling notify_new_payload in EIP-7805.
defverify_and_notify_new_payload(self: ExecutionEngine,
new_payload_request: NewPayloadRequest) ->bool:
""" Return ``True`` if and only if ``new_payload_request`` is valid with respect to ``self.execution_state``. """execution_payload=new_payload_request.execution_payloadexecution_requests=new_payload_request.execution_requestsparent_beacon_block_root=new_payload_request.parent_beacon_block_rootil_transactions=new_payload_request.il_transactions# [New in EIP-7805]ifnotself.is_valid_block_hash(execution_payload, parent_beacon_block_root):
returnFalseifnotself.is_valid_versioned_hashes(new_payload_request):
returnFalse# [Modified in EIP-7805]ifnotself.notify_new_payload(
execution_payload,
execution_requests,
parent_beacon_block_root,
il_transactions):
returnFalsereturnTrue
The text was updated successfully, but these errors were encountered:
Modified
verify_and_notify_new_payload
Note: The function
verify_and_notify_new_payload
is modified to pass the additional parameteril_transactions
when calling
notify_new_payload
in EIP-7805.The text was updated successfully, but these errors were encountered: