Start updating the test harness (Claude)

This commit is contained in:
Michael Sproul
2026-02-25 10:15:54 +11:00
parent 5f3faced1a
commit fe240ba892
5 changed files with 515 additions and 6 deletions

View File

@@ -925,8 +925,14 @@ pub fn generate_genesis_header<E: EthSpec>(
*header.transactions_root_mut() = empty_transactions_root;
Some(header)
}
// TODO(EIP-7732): need to look into this
ForkName::Gloas => None,
ForkName::Gloas => {
// TODO(gloas): we are using a Fulu header for now, but this gets fixed up by the
// genesis builder anyway which translates it to bid/latest_block_hash.
let mut header = ExecutionPayloadHeader::Fulu(<_>::default());
*header.block_hash_mut() = genesis_block_hash.unwrap_or_default();
*header.transactions_root_mut() = empty_transactions_root;
Some(header)
}
}
}