Skip to content

Commit

Permalink
fix proposal ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
bfish713 committed Mar 27, 2024
1 parent a2147bb commit f37f49d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/testing/tests/proposal_ordering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ async fn test_ordering_with_specific_order(input_permutation: Vec<usize>) {
let view_1 = TestScriptStage {
inputs: vec![
QuorumProposalRecv(proposals[0].clone(), leaders[0]),
QuorumProposalValidated(proposals[0].data.clone()),
DACRecv(dacs[0].clone()),
VidDisperseRecv(vids[0].0.clone()),
QuorumProposalValidated(proposals[0].data.clone()),
],
outputs: vec![
exact(ViewChange(ViewNumber::new(1))),
Expand Down Expand Up @@ -84,8 +84,8 @@ async fn test_ordering_with_specific_order(input_permutation: Vec<usize>) {
} else {
vec![
exact(ViewChange(ViewNumber::new(2))),
quorum_proposal_send(),
exact(QuorumProposalValidated(proposals[1].data.clone())),
quorum_proposal_send(),
]
};

Expand Down

0 comments on commit f37f49d

Please sign in to comment.