Skip to content

Commit

Permalink
Finish refactoring tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Dec 8, 2023
1 parent 82c96d7 commit c14bec8
Show file tree
Hide file tree
Showing 6 changed files with 3,170 additions and 3,603 deletions.
2 changes: 2 additions & 0 deletions proof_of_stake/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@ mod helpers;
mod state_machine;
mod state_machine_v2;
mod test_helper_fns;
mod test_pos;
mod test_slash_and_redel;
mod test_validator;
mod utils;
2 changes: 1 addition & 1 deletion proof_of_stake/src/tests/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub fn advance_epoch(s: &mut TestWlStorage, params: &PosParams) -> Epoch {
current_epoch
}

fn arb_genesis_validators(
pub fn arb_genesis_validators(
size: Range<usize>,
threshold: Option<token::Amount>,
) -> impl Strategy<Value = Vec<GenesisValidator>> {
Expand Down
Loading

0 comments on commit c14bec8

Please sign in to comment.