mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-24 00:08:13 +00:00
carry over current and previous_sync_committee in Merge state upgrader, review from @djrtwo
This commit is contained in:
parent
17fad2dea2
commit
bb0848b6f6
@ -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(),
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user