Skip to content

Commit

Permalink
fix state upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Sep 16, 2024
1 parent 1ffe185 commit 2cfac0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ public BeaconStateEip7732 upgrade(final BeaconState preState) {
}
});

state.setLatestBlockHash(Bytes32.ZERO);
state.setLatestBlockHash(
preStateElectra.getLatestExecutionPayloadHeader().getBlockHash());
state.setLatestFullSlot(UInt64.ZERO);
state.setLatestWithdrawalsRoot(Bytes32.ZERO);
});
Expand Down

0 comments on commit 2cfac0c

Please sign in to comment.