Skip to content

Commit

Permalink
DEBUG: change some numbers to see if that will affect rewards test
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov committed Jul 21, 2023
1 parent 1d7c739 commit c804714
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frame/staking/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ fn rewards_should_work() {
individual: vec![(11, 100), (21, 50)].into_iter().collect(),
}
);
let part_for_10 = Perbill::from_rational::<u32>(1000, 1125);
let part_for_20 = Perbill::from_rational::<u32>(1000, 1375);
let part_for_100_from_10 = Perbill::from_rational::<u32>(125, 1125);
let part_for_100_from_20 = Perbill::from_rational::<u32>(375, 1375);
let part_for_10 = Perbill::from_rational::<u32>(1000, 1200);
let part_for_20 = Perbill::from_rational::<u32>(1000, 1300);
let part_for_100_from_10 = Perbill::from_rational::<u32>(200, 1200);
let part_for_100_from_20 = Perbill::from_rational::<u32>(300, 1300);

start_session(2);
start_session(3);
Expand Down

0 comments on commit c804714

Please sign in to comment.