Skip to content

Commit

Permalink
test: removing virtual price invariant when ramp
Browse files Browse the repository at this point in the history
ramping really can't preserve a lot of invariants
  • Loading branch information
AlbertoCentonze committed May 22, 2024
1 parent 66fa937 commit 4b94716
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unitary/pool/stateful/test_stateful.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ def sanity_check(self):
# we disable this invariant because ramping can lead to losses
pass

def virtual_price(self):
# we disable this invariant because ramping can lead to losses
pass


TestOnlySwap = OnlySwapStateful.TestCase
TestUpOnlyLiquidity = UpOnlyLiquidityStateful.TestCase
Expand Down

0 comments on commit 4b94716

Please sign in to comment.