From ca023b164205923930582ef187eb763d56159793 Mon Sep 17 00:00:00 2001 From: Felix Henneke Date: Thu, 22 Aug 2024 10:38:07 +0200 Subject: [PATCH] Remove tests (#115) This PR removes tests. There have been problems with long delays in EBBO tests. This is probably due to the number of tests run and their efficiency. To see where the issues are coming from and for general clean up, some tests are removed from the daemon. - Reference solver surplus test: does not work at the moment. - Buffer monitoring test: not related to EBBO and seems to slow down the loop significantly - CoW AMM commitment test: obsolete with the new version of CoW AMMs For now the code for tests is not removed completely as they can still be run manually. Longterm, all of the code should be removed as well. --- src/daemon.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/daemon.py b/src/daemon.py index 7bb29d2..715cdfa 100644 --- a/src/daemon.py +++ b/src/daemon.py @@ -13,24 +13,15 @@ from src.monitoring_tests.solver_competition_surplus_test import ( SolverCompetitionSurplusTest, ) -from src.monitoring_tests.reference_solver_surplus_test import ( - ReferenceSolverSurplusTest, -) from src.monitoring_tests.mev_blocker_kickbacks_test import ( MEVBlockerRefundsMonitoringTest, ) -from src.monitoring_tests.buffers_monitoring_test import ( - BuffersMonitoringTest, -) from src.monitoring_tests.combinatorial_auction_surplus_test import ( CombinatorialAuctionSurplusTest, ) from src.monitoring_tests.uniform_directed_prices_test import ( UniformDirectedPricesTest, ) -from src.monitoring_tests.cowamm_commitment_test import ( - CoWAMMCommitmentTest, -) from src.constants import SLEEP_TIME_IN_SEC @@ -43,12 +34,9 @@ def main() -> None: # initialize tests tests = [ SolverCompetitionSurplusTest(), - ReferenceSolverSurplusTest(), MEVBlockerRefundsMonitoringTest(), - BuffersMonitoringTest(), CombinatorialAuctionSurplusTest(), UniformDirectedPricesTest(), - CoWAMMCommitmentTest(), ] start_block: Optional[int] = None