Skip to content

Commit

Permalink
fix broken test case test_check_slot_position
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap committed May 31, 2023
1 parent 7b8121e commit 365d3f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions clients/vault/src/oracle/collector/proof_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ mod test {

#[test]
fn test_check_slot_position() {
let last_slot = 100;
let last_slot = 50_000;

assert!(!check_slot_still_recoverable_from_overlay(last_slot, 50));
assert!(!check_slot_still_recoverable_from_overlay(last_slot, 75));
assert!(check_slot_still_recoverable_from_overlay(last_slot, 90));
assert!(check_slot_still_recoverable_from_overlay(last_slot, 100));
assert!(check_slot_still_recoverable_from_overlay(last_slot, 101));
assert!(!check_slot_still_recoverable_from_overlay(last_slot, 100));
assert!(!check_slot_still_recoverable_from_overlay(last_slot, 30_000));
assert!(check_slot_still_recoverable_from_overlay(last_slot, 40_500));
assert!(check_slot_still_recoverable_from_overlay(last_slot, 49_500));
}
}

0 comments on commit 365d3f4

Please sign in to comment.