Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
Hsiao-Wei Wang 2023-05-24 12:17:07 +08:00 committed by GitHub
parent 53a9221d1a
commit ec1ee74edb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,7 +198,7 @@ def verify_and_notify_new_payload(self: ExecutionEngine,
Return ``True`` if and only if ``new_payload_request`` is valid with respect to ``self.execution_state``.
"""
assert self.is_valid_block_hash(new_payload_request.execution_payload)
assert self.is_valid_versioned_hashes(new_payload_request) # [Modified in Deneb]
assert self.is_valid_versioned_hashes(new_payload_request) # [New in Deneb]
assert self.notify_new_payload(new_payload_request.execution_payload)
...
return True