This one is caused by mitigation to issue M-05
Early issuer can issue less than one wad (e.g. 9e17 wei) and send it to the Furnace contract, then whenever anyone is trying to issue more RTokens melt() would be called, since there’s less than 1 wad in total supply melt would revert, reverting the issuance.
This would totally disable the option to issue.
Remove the restriction that doesn’t allow melting and replace it with not allowing anybody but Furnace to melt.
Alternatively, don’t melt during issuance if total supply is less than some threshold (e.g. 10 wad), or don’t melt if supply - balanceOf(furnace) is less than 1 wad.
The text was updated successfully, but these errors were encountered:
All reactions