Skip to content

Commit 47fb15b

Browse files
committed
Since downgraded tests, revert reject reasons
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 8a8c650 commit 47fb15b

File tree

1 file changed

+2
-5
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+2
-5
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,10 +1782,7 @@ fn block_proposal_rejection() {
17821782
if signer_signature_hash == block_signer_signature_hash_1 {
17831783
found_signer_signature_hash_1 = true;
17841784
assert_eq!(reason_code, RejectCode::SortitionViewMismatch,);
1785-
assert!(matches!(
1786-
response_data.reject_reason,
1787-
RejectReason::ConsensusHashMismatch { .. }
1788-
));
1785+
assert_eq!(response_data.reject_reason, RejectReason::InvalidBitvec);
17891786
} else if signer_signature_hash == block_signer_signature_hash_2 {
17901787
found_signer_signature_hash_2 = true;
17911788
assert!(matches!(
@@ -7125,7 +7122,7 @@ fn empty_tenure_delayed() {
71257122
})) = latest_msg
71267123
{
71277124
assert_eq!(reason_code, RejectCode::SortitionViewMismatch);
7128-
assert!(matches!(response_data.reject_reason, RejectReason::ConsensusHashMismatch {..} ));
7125+
assert_eq!(response_data.reject_reason, RejectReason::InvalidMiner);
71297126
assert_eq!(metadata.server_version, VERSION_STRING.to_string());
71307127
found_rejections.push(*slot_id);
71317128
} else {

0 commit comments

Comments
 (0)