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
Refactor order filter controlling autopilot flags (#3901)
# Description
We are trying to accommodate flashloan testing by disabling balance and
signature filtering in the autopilot. The problem is that it is
legitimate to not have the required sell token balance as it comes from
the flashloan executed in pre-interactions. Similarly it is legitimate
that on 1271 orders the signature checks only succeeds after
pre-interactions with the flashloan have executed.
By disabling these checks in the autopilot we are effectively moving
them onto the driver and potentially introducing performance problems in
it.
# Changes
- [x] Removed `disable_order_filtering` flag that would switch off both
balance and signature filtering
- [x] Introduced `disable_order_balance_filter` flag to control
filtering on insufficient balance
- [x] Introduced `disable_1271_order_sig_filter` to disable filtering on
signatures of 1271 orders
0 commit comments