mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 03:45:06 -05:00
carry over current and previous_sync_committee in Merge state upgrader, review from @djrtwo
This commit is contained in:
@@ -91,6 +91,9 @@ def upgrade_to_merge(pre: altair.BeaconState) -> BeaconState:
|
||||
finalized_checkpoint=pre.finalized_checkpoint,
|
||||
# Inactivity
|
||||
inactivity_scores=pre.inactivity_scores,
|
||||
# Sync
|
||||
current_sync_committee=pre.current_sync_committee,
|
||||
next_sync_committee=pre.next_sync_committee,
|
||||
# Execution-layer
|
||||
latest_execution_payload_header=ExecutionPayloadHeader(),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user