Fixed some stuff in state processing (#3640)

This commit is contained in:
ethDreamer
2022-10-13 17:07:32 -05:00
committed by GitHub
parent 255fdf0724
commit c1c5dc0a64
5 changed files with 32 additions and 31 deletions

View File

@@ -67,7 +67,7 @@ pub fn initialize_beacon_state_from_eth1<T: EthSpec>(
state.fork_mut().previous_version = spec.bellatrix_fork_version;
// Override latest execution payload header.
// See https://github.com/ethereum/consensus-specs/blob/v1.1.0/specs/merge/beacon-chain.md#testing
// See https://github.com/ethereum/consensus-specs/blob/v1.1.0/specs/bellatrix/beacon-chain.md#testing
*state.latest_execution_payload_header_mut()? =
execution_payload_header.unwrap_or_default();
}