Skip to content

Commit

Permalink
Remove tests (#115)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fhenneke authored Aug 22, 2024
1 parent 25228ec commit ca023b1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -43,12 +34,9 @@ def main() -> None:
# initialize tests
tests = [
SolverCompetitionSurplusTest(),
ReferenceSolverSurplusTest(),
MEVBlockerRefundsMonitoringTest(),
BuffersMonitoringTest(),
CombinatorialAuctionSurplusTest(),
UniformDirectedPricesTest(),
CoWAMMCommitmentTest(),
]

start_block: Optional[int] = None
Expand Down

0 comments on commit ca023b1

Please sign in to comment.