Skip to content

Commit

Permalink
carry over current and previous_sync_committee in Merge state upgrade…
Browse files Browse the repository at this point in the history
…r, review from @djrtwo
  • Loading branch information
protolambda committed Jul 22, 2021
1 parent 17fad2d commit bb0848b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specs/merge/fork.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
Expand Down

0 comments on commit bb0848b

Please sign in to comment.