When the protocol wants to update the parameters for a specific fee the FEE_MANAGER_ROLE
call FeeCollector::updateFeeType
function to update those parameters.
FeeCollector.sol#L220C2-L232C1
The issue arises from a check in the function that Validate fee shares total to 100%.so when the FEE_MANAGER_ROLE
try to update SwapTax[6]
and NFTRoyalty[7]
it will revert because those types of fees parameters only represent 2%
FeeCollector.sol#L225C1-L227C10
FeeCollector.sol#L380C7-L393C12
Manual Review
Consider add new function to update those types
OR
Refactor the current implementation to update those types also
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.