Skip to content

Commit

Permalink
Allow payload to be VALID or ACCEPTED
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 28, 2022
1 parent cf3bcca commit c124208
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testing/execution_engine_integration/src/test_rig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,10 @@ impl<E: GenericExecutionEngine> TestRig<E> {
.notify_new_payload(&valid_payload)
.await
.unwrap();
assert_eq!(status, PayloadStatus::Valid);
assert!(matches!(
status,
PayloadStatus::Valid | PayloadStatus::Accepted
));
check_payload_reconstruction(&self.ee_a, &valid_payload).await;

/*
Expand Down

0 comments on commit c124208

Please sign in to comment.