The updateWeightRunner::setRuleForPool function lacks a check to verify whether the poolRuleSettings for msg.sender are already assigned.
The setRuleForPool function does not check whether the poolRuleSettings for a pool are already stored. Due to this lack of a check, the poolRuleSettings can be overwritten, causing the old data to be erased.
The poolRuleSettingsfor can be overwritten erasing old data.
Manual Review
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.