updateFeeTypefunction is not designed to handle modifications to feeTypes 6 and 7.
The update updateFeeTypefunction callable by the FEE_MANAGER_ROLE is used to modify the fee parameters.
It has a check to ensure the some of different fee parameters add up to the whole BASIS_POINTS = 10000.
However the feeType 6 and feeType 7 already violate this rule as they only sum up to 2000 basis pioints.
Fee Types 6 & 7 cannot be updated using the current implementation of updateFeeType
If different fee types have different summation rules (e.g., some should sum to 2,000 instead of 10,000),
then the validation logic in updateFeeType needs to account for that.
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.