Judge has assessed an item in Issue #74 as 2 risk. The relevant finding follows:
[L-02] Inconsistent conditions for approving and disapproving the proposal price
The approval and disapproval proposer price mechanism does not allow the PriceFeed_X that was approved first to become disapproved.
However, this logic does not implement the vice versa scenario, as the mechanism allows PriceFeed_X that was disapproved first to become approved afterward.
This results in an inconsistent mechanism and incorrectly tracks usdUpdateProposal.approvalsCount and usdUpdateProposal.disapprovalsCount.
Judge has assessed an item in Issue #74 as 2 risk. The relevant finding follows:
[L-02] Inconsistent conditions for approving and disapproving the proposal price
The approval and disapproval proposer price mechanism does not allow the
PriceFeed_X
that was approved first to become disapproved.However, this logic does not implement the vice versa scenario, as the mechanism allows
PriceFeed_X
that was disapproved first to become approved afterward.This results in an inconsistent mechanism and incorrectly tracks
usdUpdateProposal.approvalsCount
andusdUpdateProposal.disapprovalsCount
.Location: LockManager::approveUSDPrice()