You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that ETH-flow orders, while they are now submitted, created and executed with the CoW Swap zero-signed fee change, they always pay zero fee as they are classified as market and not limit orders.
# Description
Fixes#2356
# Changes
<!-- List of detailed changes (how the change is accomplished) -->
- [x] Order is `Market` if within market (by comparing to quote) AND if
signed `fee_amount` is > 0.
- [x] Adjust the `within_market` calculation to include fees (as already
discussed and fixed in other parts of the system)
## How to test
Adjusted existing tests. Added check for `executed_surplus_fee` for
signed zero fee ethflow order.
# Description
Fixes#2356
# Changes
<!-- List of detailed changes (how the change is accomplished) -->
- [x] Order is `Market` if within market (by comparing to quote) AND if
signed `fee_amount` is > 0.
- [x] Adjust the `within_market` calculation to include fees (as already
discussed and fixed in other parts of the system)
## How to test
Adjusted existing tests. Added check for `executed_surplus_fee` for
signed zero fee ethflow order.
We noticed that ETH-flow orders, while they are now submitted, created and executed with the CoW Swap zero-signed fee change, they always pay zero fee as they are classified as market and not limit orders.
See here for relevant discussion.
The text was updated successfully, but these errors were encountered: