RAACToken burn() wil revert in case burnTaxRate set to 0. This will be a problem if protocol decide to not charge fee on burning RAAC (it is intended, according to a code we have mechanic to handle such cases, meanwhile described issue won't make it possible)
RAACToken.sol burn() looks like this
As you can see the problem happens because percentMul called at burnTaxRate = 0. Why is this reverts?
As you can see percentMul() always revert when you pass 0 value as percentage input
Dos of burn() function and the one which relate to it's call when burnTax = 0
Manual review
add check if burnTaxRate =0 and do not process any tax-related activity when it's 0
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.