Judge has assessed an item in Issue #550 as 2 risk. The relevant finding follows:
L4. A feeder who has already disapproved the USD price can approve it in the same proposal.
Impact
There are no checks to ensure that msg.sender has not already disapproved the price in the approveUSDPrice function. This means a feeder who has previously disapproved the same price can also approve it.
Judge has assessed an item in Issue #550 as 2 risk. The relevant finding follows:
L4. A feeder who has already disapproved the USD price can approve it in the same proposal.
Impact
There are no checks to ensure that msg.sender has not already disapproved the price in the approveUSDPrice function. This means a feeder who has previously disapproved the same price can also approve it.
Proof of Concept
https://github.com/code-423n4/2024-05-munchables/blob/main/src/managers/LockManager.sol#L177
Tools Used
Manual review
Recommended Mitigation Steps
It is advised to include validation to check if it has already been disapproved.