Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prioritize newer orders in auction (#2397)
# Description When we build the auction in the autopilot we filter out orders that are unlikely to be filled to shrink the auction to a more manageable size. One step is to filter out fill-or-kill orders where the owner doesn't have enough sell_token for all of the open orders. The new logic sorts orders by `creation_timestamp` (desc) to first use the user's existing balance on recent orders rather than old ones. Fixes: #1997
- Loading branch information