Skip to content

Commit

Permalink
remove test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinquaXD committed Dec 11, 2024
1 parent dc5f0e6 commit 36e96b0
Show file tree
Hide file tree
Showing 18 changed files with 1 addition and 1,389 deletions.
11 changes: 0 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ Concretely, it is responsible for "cutting" new auctions (i.e. determining aucti

The `autopilot` connects to the same PostgreSQL database as the `orderbook` and uses it to query orders as well as storing the most recent auction and settlement competition.

## Solver

The `solver` crate is responsible for submitting on-chain settlements based on the orders it gets from the order book and other liquidity sources like Balancer or Uniswap pools.

It implements a few settlement strategies directly in Rust:

- Naive Solver: Can match to overlapping opposing orders (e.g. DAI for WETH & WETH for DAI) with one another settling the excess with Uniswap
- Uniswap Baseline: Same path finding as used by the Uniswap frontend (settling orders individually instead of batching them together)

It can also interact with a more advanced, Gnosis internal, closed source solver which tries to settle all orders using the combinatorial optimization formulations described in [Multi-Token Batch Auctions with Uniform Clearing Price](https://github.com/gnosis/dex-research/blob/master/BatchAuctionOptimization/batchauctions.pdf)

## Other Crates

There are additional crates that live in the cargo workspace.
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions crates/solvers/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ use {
tokio::{sync::oneshot, task::JoinHandle},
};

mod baseline;
mod naive;
mod cases;

/// A solver engine handle for E2E testing.
pub struct SolverEngine {
Expand Down
139 changes: 0 additions & 139 deletions crates/solvers/src/tests/naive/extract_deepest_pool.rs

This file was deleted.

172 changes: 0 additions & 172 deletions crates/solvers/src/tests/naive/filters_out_of_price_orders.rs

This file was deleted.

Loading

0 comments on commit 36e96b0

Please sign in to comment.