Use Deneb fork in generate_genesis_header

Co-authored-by: Jimmy Chen <jchen.tc@gmail.com>
This commit is contained in:
Michael Sproul 2023-10-16 16:24:27 +11:00 committed by GitHub
parent 38e7172508
commit 2d662f78ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -711,7 +711,7 @@ pub fn generate_genesis_header<T: EthSpec>(
Some(header) Some(header)
} }
ForkName::Deneb => { ForkName::Deneb => {
let mut header = ExecutionPayloadHeader::Capella(<_>::default()); let mut header = ExecutionPayloadHeader::Deneb(<_>::default());
*header.block_hash_mut() = genesis_block_hash.unwrap_or_default(); *header.block_hash_mut() = genesis_block_hash.unwrap_or_default();
Some(header) Some(header)
} }