Skip to content

Commit

Permalink
Tidy after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 30, 2022
1 parent e8b7556 commit 4508aae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_node/beacon_chain/tests/payload_invalidation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1373,7 +1373,7 @@ async fn build_optimistic_chain(
.chain
.canonical_head
.fork_choice_read_lock()
.is_optimistic_block(&post_transition_block_root)
.is_optimistic_or_invalid_block(&post_transition_block_root)
.unwrap(),
"the transition block should be imported optimistically"
);
Expand Down Expand Up @@ -1638,7 +1638,7 @@ async fn optimistic_transition_block_invalid_unfinalized_syncing_ee() {
// It should still be marked as optimistic.
assert!(rig
.execution_status(post_transition_block_root)
.is_optimistic());
.is_strictly_optimistic());

// the optimistic merge transition block should NOT have been removed from the database
let otbs = load_optimistic_transition_blocks(&rig.harness.chain)
Expand Down

0 comments on commit 4508aae

Please sign in to comment.