Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zero surplus fee for market orders (#2306)
# Description Follow up for #2305 My oversight where I suggested to just remove the filter. What we actually want to do here is to still have all order executions to be saved to db table `order_executions` (to have properly calculation of `/api/v1/users/{address}/total_surplus`) but also, save the surplus_fee of 0 for market orders because they don't have the surplus fee.
- Loading branch information