From bb0848b6f6d07ff0eaad16c039e9010f93c85514 Mon Sep 17 00:00:00 2001 From: protolambda Date: Thu, 22 Jul 2021 19:58:10 +0200 Subject: [PATCH] carry over current and previous_sync_committee in Merge state upgrader, review from @djrtwo --- specs/merge/fork.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs/merge/fork.md b/specs/merge/fork.md index 5c5c40a64..c89e00cf9 100644 --- a/specs/merge/fork.md +++ b/specs/merge/fork.md @@ -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(), )