Submitted by jayphbee, also found by catchup, corerouter, trustindistrust, and cccz
User can free from liquidation fee if its escrow balance less than the calculated liquidation fee.
If the liquidationFeeBps is enabled, the gov should receive the liquidation fee. But if users escrow balance is less than the calculated liquidation fee, gov got nothing.
https://github.com/code-423n4/2022-10-inverse/blob/main/src/Market.sol#L605-L610
User should pay all the remaining escrow balance if the calculated liquidation fee is greater than its escrow balance.
0xean (judge) commented:
08xmt (Inverse) confirmed and commented:
