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
There is a big lastEBTCDebtErrorRedistribution in this example, > 1e18
(lastEBTCDebtErrorRedistribution is used to calculate the remainder error in rounding and store it for the calc)
I would assume it would never go above 1 since it's a value that once it goes above 1e18 it would be added as 1 unit of debt
This test is going to require some manual review to see if the lastEBTCDebtErrorRedistribution is correct and a reasonable finding to have occur.
The text was updated successfully, but these errors were encountered:
@dapp-whisperer the lastEBTCDebtErrorRedistribution in this test is correct as expected. Please note that lastEBTCDebtErrorRedistribution is capped by totalStake instead of 1e18 as it is the residue from redistributed debt divided by totalStake(see _redistributeDebt() in LiquidationLibrary.sol):
See
testBrokenInvariantFive
in EchidnaToFoundry.t.solThere is a big
lastEBTCDebtErrorRedistribution
in this example, > 1e18(
lastEBTCDebtErrorRedistribution
is used to calculate the remainder error in rounding and store it for the calc)I would assume it would never go above 1 since it's a value that once it goes above 1e18 it would be added as 1 unit of debt
This test is going to require some manual review to see if the
lastEBTCDebtErrorRedistribution
is correct and a reasonable finding to have occur.The text was updated successfully, but these errors were encountered: