Conflicting validation error message and the condition when setting the fee percentage for swap fees and uplift fees.
Even though the error in both places indicates "fee must be LESS than 100%", the check allows up to and INCLUDING exact 1e18 value, which represents the 100%.
Fee can be set to 100% when the error states it does not.
Due to even setting to 1e18 doesn't really break anything and there are "if" checking for those exactly values. Likely is a mistake the error message - Low or Informational.
Manual review
replace "<=" with "<"
or
change the messages from ...fee must be less than 100% to ... fee must be less or equal to 100%
Please read the CodeHawks documentation to know which submissions are valid. If you disagree, provide a coded PoC and explain the real likelyhood and the detailed impact on the mainnet without any supposition (if, it could, etc) to prove your point.
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.