adding michael commits

This commit is contained in:
Michael Sproul
2025-12-11 12:33:39 +11:00
committed by hopinheimer
parent 491b69f364
commit 3e3ccba1a6
6 changed files with 54 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
/* FIXME(sproul) fix these tests later
mod execution_status;
mod ffg_updates;
mod no_votes;
@@ -227,13 +228,14 @@ impl ForkChoiceTestDefinition {
});
check_bytes_round_trip(&fork_choice);
}
// FIXME(sproul): update with payload_present
Operation::ProcessAttestation {
validator_index,
block_root,
target_epoch,
} => {
fork_choice
.process_attestation(validator_index, block_root, target_epoch)
.process_attestation(validator_index, block_root, target_epoch, false)
.unwrap_or_else(|_| {
panic!(
"process_attestation op at index {} returned error",
@@ -323,3 +325,4 @@ fn check_bytes_round_trip(original: &ProtoArrayForkChoice) {
"fork choice should encode and decode without change"
);
}
*/