Fix EL Integration Tests

This commit is contained in:
Mark Mackey
2025-11-11 14:01:38 -06:00
parent dae2f1dcea
commit ef1aa6bd96

View File

@@ -463,6 +463,14 @@ impl<Engine: GenericExecutionEngine> TestRig<Engine> {
// TODO: again think about forks here
let mut invalid_payload = valid_payload.clone();
// reverse the block hash to bypass the new payload cache
let reversed: [u8; 32] = {
let mut arr = [0; 32];
arr.copy_from_slice(invalid_payload.block_hash().0.as_slice());
arr.reverse();
arr
};
*invalid_payload.block_hash_mut().0 = reversed;
*invalid_payload.prev_randao_mut() = Hash256::from_low_u64_be(42);
let status = self
.ee_a