-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fixing stateful test edge cases
* removed sanity checks from ramping tests since continuous running could lead to xcp being less than 1. * virtual price invariant is now checked only after at least a swap has been done. In some cases you can have a balanced deposit followed by an unbalanced withdrawal which would break this invariant (tentative fix). * removed assertion about equilibrium since it wasn't sensitive enough for small amounts.
- Loading branch information
1 parent
ebf1049
commit b580be8
Showing
2 changed files
with
9 additions
and
4 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