Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description Now that we [killed the subsidies](cowprotocol/infrastructure#1031), the `trade.fee_amount` is always equal to `order.metadata.solver_fee` so we get this data directly from onchain data instead of querying the database. Not super important since we will drop the support for market orders in the following period, but important for moving this part of the code into `domain` and simplifying the `surplus` and `fee` calculation on the future [domain::settlement](https://github.com/cowprotocol/services/blob/domain-settlement/crates/autopilot/src/domain/settlement/mod.rs#L14-L18) object. ## How to test Existing tests.
- Loading branch information