Synthetixio / synthetix-v3

MIT License
114 stars 56 forks source link

legacymarket: allow migration of liquidatable accounts #2204

Closed dbeal-eth closed 1 month ago

dbeal-eth commented 1 month ago

we remove the code that allows for the legacymarket to "liquidate" accounts, and instead allow even liquidatable accounts to be migrated so that the v3 liquidation system can be used instead.

this change works by selectively removing a restriction on the v3 core system which prevented the assignment of debt which would cause an account to become liquidatable, a tactic that would allow a market to mint effectively unlimited debt.