-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inclusive & valid random share reserve range; dynamic fuzz bugfix (#170)
# Description - share adjustment (zeta) was using a non-inclusive range, but the requirement (`<=`) implies inclusive should be valid. - I tested this with the bounds (`share_adjustment = 0` and `share_adjustment = share_reserves - min_share_reserves - fixed!(10e18)`) and all tests passed with both extremes - note that I had to reduce the upper-bound by `fixed!(10e18)` for the tests to pass, which I guess means we were just getting lucky before. I made an issue for this: #171 - dynamic fuzz is supposed to do 10x fuzz runs on new tests, but was 1x with `FAST_FUZZ_RUNS` - fix a check in an `open.rs` test where the allowable max bond amount was too low
- Loading branch information
Showing
3 changed files
with
15 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters