setCurveVault
function is defined as follows:
CurveVaultUpdated
can be emitted when newVault = address(curveVault)
which shouldn't be possible.
In comparison, setStabilityPool
function ensures that newStabilityPool != stabilityPool
, and setCurveVault
should do the same.
The impact of this issue is low, as it leads to incorrect event emission.
Manual review
Make sure to check that newVault != address(CurveVault)
in setCurveVault
function:
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.