mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-03 14:24:24 +00:00
Fix linter
This commit is contained in:
parent
beff03d4e0
commit
c8dd790484
@ -929,7 +929,8 @@ def notify_new_payload(self: ExecutionEngine,
|
|||||||
execution_requests: ExecutionRequests,
|
execution_requests: ExecutionRequests,
|
||||||
parent_beacon_block_root: Root) -> bool:
|
parent_beacon_block_root: Root) -> bool:
|
||||||
"""
|
"""
|
||||||
Return ``True`` if and only if ``execution_payload`` and ``execution_requests`` are valid with respect to ``self.execution_state``.
|
Return ``True`` if and only if ``execution_payload`` and ``execution_requests``
|
||||||
|
are valid with respect to ``self.execution_state``.
|
||||||
"""
|
"""
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
@ -956,7 +957,10 @@ def verify_and_notify_new_payload(self: ExecutionEngine,
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
# [Modified in Electra]
|
# [Modified in Electra]
|
||||||
if not self.notify_new_payload(execution_payload, execution_requests, parent_beacon_block_root):
|
if not self.notify_new_payload(
|
||||||
|
execution_payload,
|
||||||
|
execution_requests,
|
||||||
|
parent_beacon_block_root):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user