From 4b9471601b907990ca1ea8bc8e79cf0d8489be92 Mon Sep 17 00:00:00 2001 From: Alberto Date: Wed, 22 May 2024 17:00:50 +0200 Subject: [PATCH] test: removing virtual price invariant when ramp ramping really can't preserve a lot of invariants --- tests/unitary/pool/stateful/test_stateful.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unitary/pool/stateful/test_stateful.py b/tests/unitary/pool/stateful/test_stateful.py index 0de9ce1d..1675d6e8 100644 --- a/tests/unitary/pool/stateful/test_stateful.py +++ b/tests/unitary/pool/stateful/test_stateful.py @@ -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