In _obtain_price_params() function of ScrvusdOracleV2.vy file.
The condition if params.last_profit_update + period >= parameters_ts skips the profit unlocking logic when params.last_profit_update + period == parameters_ts. This can lead to delayed profit unlocking, causing incorrect price calculations.
When params.last_profit_update + period == parameters_ts , return old params.
The price calculation will not reflect the fully unlocked profits at the exact moment the unlocking period ends, leading to inaccurate prices.
Manual
Change the condition to if params.last_profit_update + period > parameters_ts to ensure profits are unlocked at the correct timestamp.
So need to modify as following.
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.