Update specs/eip4844/fork.md

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
Enrico Del Fante
2022-11-16 19:19:39 +01:00
committed by GitHub
parent b737e5370f
commit 620943b275

View File

@@ -66,7 +66,7 @@ Since the `eip4844.BeaconState` format is equal to the `bellatrix.BeaconState` f
```python
def upgrade_to_eip4844(pre: bellatrix.BeaconState) -> BeaconState:
# TODO: if Capella gets scheduled, add sync it with Capella.BeaconState and Capella.ExecutionPayloadHeader
# TODO: if Capella gets scheduled, add sync it with Capella.BeaconState
epoch = bellatrix.get_current_epoch(pre)
latest_execution_payload_header = ExecutionPayloadHeader(
parent_hash=pre.latest_execution_payload_header.parent_hash,