-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to adjust debt position when individual settlement fund is not empty #2582
Comments
Found the reason: bitshares-core/libraries/chain/asset_evaluator.cpp Lines 1432 to 1433 in e52b9ff
and (else)
When the individual settlement fund is not empty, and the price of the backing asset continues to fall, after a new price feed is published,
Similar suspicious code: bitshares-core/libraries/chain/db_update.cpp Line 498 in e52b9ff
|
To work around this issue, asset owners can temporarily or regularly update MCR (to a slightly lower value) to trigger individual settlements then update it back. See https://bitsharestalk.org/index.php?topic=33637.0. |
When this occurs, these notes in the code are no longer true: bitshares-core/libraries/chain/asset_evaluator.cpp Lines 1291 to 1295 in 2c2e0ef
For the first note, although it is not true, but it just means that there is still a For the second note, in short, it is not true but also not critical. The details are as follows.
|
It should have been fixed by #2599. But missing test cases. |
Added tests in #2606. |
Bug Description
Unable to adjust debt position when individual settlement fund is not empty
Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: