Skip to content

Commit

Permalink
Merge pull request #2591 from anoma/brent/fix-test-slashed-bond-amount
Browse files Browse the repository at this point in the history
Fix `test_slashed_bond_amount`
  • Loading branch information
brentstone authored Feb 12, 2024
2 parents 745fe8f + 294461d commit 9181fbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Seeds for failure cases proptest has generated in the past. It is
# automatically read and these particular cases re-run before any
# novel cases are generated.
#
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc 5c95c6a9a05475d1657a2effb89a61ad7ac7f9fef6fd7c1e074552ea879d9852
1 change: 1 addition & 0 deletions crates/proof_of_stake/src/tests/test_slash_and_redel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1246,6 +1246,7 @@ fn test_slashed_bond_amount_aux(validators: Vec<GenesisValidator>) {
let mut storage = TestWlStorage::default();
let params = OwnedPosParams {
unbonding_len: 4,
validator_stake_threshold: token::Amount::zero(),
..Default::default()
};

Expand Down

0 comments on commit 9181fbe

Please sign in to comment.