FeeCollector::updateFeeType() , is used to update the Fee but the updation will get failed for the Buy Sell Swap Tax and Royalty Fee Type of Fee.
In function FeeCollector::updateFeeType() there is this check, Which checks if the sum of 4 type of fee share (newFee.veRAACShare ,newFee.burnShare , newFee.repairShare , newFee.treasuryShare ) is 10,000 or not.
But in case of Buy Sell Swap Tax and Royalty Fee, the sum will not be 10,000 as we can see in function FeeCollector::_initializeFeeTypes
Updation of Buy Sell Swap Tax and Royalty Fee will not be possible
Manual Review
Remove that check and add other checks in case of Royalty and Swap Fee.
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.