Style feedback

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
Guillaume Ballet 2023-03-09 11:48:00 +01:00
parent d0c7bbc802
commit 567e62fbe9
2 changed files with 1 additions and 3 deletions

View File

@ -112,10 +112,8 @@ class ExecutionPayloadHeader(Container):
```python
class SuffixStateDiff(Container):
suffix: Byte
# Null means not currently present
current_value: Optional[Bytes32]
# Null means value not updated
new_value: Optional[Bytes32]
```

View File

@ -136,7 +136,7 @@ def upgrade_to_verge(pre: capella.BeaconState) -> BeaconState:
next_withdrawal_validator_index=pre.next_withdrawal_validator_index,
# Deep history valid from Capella onwards
# FIXME most likely wrong
historical_summaries=List[HistoricalSummary, HISTORICAL_ROOTS_LIMIT]([]), # [New in Capella]
historical_summaries=List[HistoricalSummary, HISTORICAL_ROOTS_LIMIT]([]),
)
return post