From 8f8febd70a0cc43ae231d286805625d3bd2c4832 Mon Sep 17 00:00:00 2001 From: Pedro Valido <80268365+pedrovalido@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:06:45 +0100 Subject: [PATCH] fix: lp sugar test using pool with killed gauge --- tests/optimism/test_lp_sugar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/optimism/test_lp_sugar.py b/tests/optimism/test_lp_sugar.py index b3f97a0..e849bdb 100644 --- a/tests/optimism/test_lp_sugar.py +++ b/tests/optimism/test_lp_sugar.py @@ -205,7 +205,7 @@ def test_epochsByAddress_limit_offset( LpEpochStruct, LpEpochBribeStruct ): - first_lp = LpStruct(*sugar_contract.byIndex(0)) + first_lp = LpStruct(*sugar_contract.byIndex(1)) lp_epochs = list(map( lambda _p: LpEpochStruct(*_p), sugar_contract.epochsByAddress(20, 3, first_lp.lp)