In order to avoid failure to settle auction during the TradingPausedOrFrozen, the mitigation remove the notTradingPausedOrFrozen check from settleTrade function:
function settleTrade(IERC20 sell) public override(ITrading, TradingP1) returns (ITrade trade) {
This avoids lower auction prices due to settlement delays.
Lines of code
Vulnerability details
Comments
In order to avoid failure to settle auction during the TradingPausedOrFrozen, the mitigation remove the
notTradingPausedOrFrozen
check fromsettleTrade
function:This avoids lower auction prices due to settlement delays.