This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rounding issues in mirror strategy causing offers to not be placed,
closes #541 (#544) * 1 - add tests for rounding logic of checkBalance * 2 - add rounding truncation logic to number library + test updates * 3 - use a larger precision for internal calculations and eventually round down in checkBalance * 4 - fix tests that result in smaller values based on the new truncation based rounding in checkBalance
- Loading branch information
1 parent
dcd59c3
commit c1d86f2
Showing
4 changed files
with
220 additions
and
77 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
Oops, something went wrong.