An incorrect debt amount calculation in DebtToken.sol will cause users to receive more debt than they should, as the protocol adds the index-adjusted balance increase to the new debt amount being minted.
In DebtToken.sol the protocol incorrectly adds balanceIncrease to the new debt amount during minting, which results in users receiving more debt than they should.
Users receive a higher debt amount than they should due to the incorrect addition of balanceIncrease to the minted amount. This impacts all users who mint debt tokens when their index has increased since their last interaction.
The mint() function should be modified to only mint the new debt amount without adding the balanceIncrease. The index adjustment should be handled separately from the minting process.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.