From 40e2c4c2e2d88d98f81de5115115ec92adf23628 Mon Sep 17 00:00:00 2001 From: Keshav Mishra Date: Fri, 6 Dec 2024 22:33:13 +0530 Subject: [PATCH] fix: error raise on transition - anyother cicrcumstane of bet instance is not possible --- packages/valory/skills/market_manager_abci/bets.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/valory/skills/market_manager_abci/bets.py b/packages/valory/skills/market_manager_abci/bets.py index 47fa332b..2a4d8c95 100644 --- a/packages/valory/skills/market_manager_abci/bets.py +++ b/packages/valory/skills/market_manager_abci/bets.py @@ -73,10 +73,6 @@ def next_status(self) -> "QueueStatus": return QueueStatus.REPROCESSED elif self == QueueStatus.REPROCESSED: return QueueStatus.FRESH - else: - raise ValueError( - f"Invalid queue status {self} detected. This bet should not have been sampled" - ) @dataclasses.dataclass(init=False)