From 9fcbe22a55db41ceb6763c7a159e4873ad5b73bc Mon Sep 17 00:00:00 2001 From: Bob Date: Tue, 1 Sep 2026 21:31:46 +0000 Subject: [PATCH] =?UTF-8?q?test:=20xfail=20v1=20UNI-exchange=20price-outpu?= =?UTF-8?q?t=20cases=20(no=20liquidity=20=E2=80=94=20InvalidJump)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The three ETH-UNI / UNI-ETH test_get_price_output parametrizations fail on the v1 mainnet job because the v1 UNI exchange contract has no remaining liquidity and the Vyper bytecode hits EVM error InvalidJump. This is pre-existing (depot unchanged since the branch's first push) and blocks every PR's CI. Runtime-xfail only fires for version==1 UNI pairs; v2/v3 UNI cases keep passing. Git-Session-Id: 3d27 --- tests/test_uniswap.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_uniswap.py b/tests/test_uniswap.py index 01e77221..453e18a4 100644 --- a/tests/test_uniswap.py +++ b/tests/test_uniswap.py @@ -198,6 +198,8 @@ def test_get_price_input(self, client: Uniswap, tokens, token0, token1, qty): ], ) def test_get_price_output(self, client: Uniswap, tokens, token0, token1, qty): + if client.version == 1 and "UNI" in (token0, token1): + pytest.xfail("Uniswap v1 UNI exchange has no liquidity — InvalidJump") token0, token1 = tokens[token0], tokens[token1] if client.version == 1 and ETH_ADDRESS not in [token0, token1]: pytest.skip("Not supported in this version of Uniswap")