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
PR #655 introduces a new vulnerability that a call order in margin call territory can greatly increase debt while slightly increasing collateral ratio and still hangs there, which will make it harder to be filled, thus may increase possibility of black swan event and bring more risks to the pegging system.
I think we can fix this by not allowing increasing debt if the call order can not be filled immediately or get out of margin call territory.
I will draft a BSIP for this as well as PR #655 and its addressed issue (#583).
The text was updated successfully, but these errors were encountered:
PR #655 introduces a new vulnerability that a call order in margin call territory can greatly increase debt while slightly increasing collateral ratio and still hangs there, which will make it harder to be filled, thus may increase possibility of black swan event and bring more risks to the pegging system.
I think we can fix this by not allowing increasing debt if the call order can not be filled immediately or get out of margin call territory.
I will draft a BSIP for this as well as PR #655 and its addressed issue (#583).
The text was updated successfully, but these errors were encountered: