makerdao / lockstake

GNU Affero General Public License v3.0
19 stars 11 forks source link

(7) Make sure the Chief flash loan protection can not block liquidations #16

Open oldchili opened 8 months ago

oldchili commented 8 months ago

https://github.com/makerdao/dss-chief/blob/master/src/chief.sol#L79C32-L79C36 - this flash loan protection means that on any block that someone delegated we can not kick a liquidation or do a final take (in case there was a redelegation). Apart from it happening by accident it can be a way to block liquidations.

sunbreak1211 commented 8 months ago

First solution proposed: https://github.com/makerdao/vote-delegate/compare/v2...withdrawal-window?expand=1

sunbreak1211 commented 7 months ago

Latest proposed solution and more likely to happen: https://github.com/makerdao/vote-delegate/pull/18