_updateWeights() needs to be called after actions like casting of vote via voteDirection() or update of period via updatePeriod(). But this is never done currently in the implementation.
This would ensure that:
When users vote on direction, their votes are properly weighted over time
When periods roll over, the weights are carried forward correctly
The lack of these calls means the time-weighted average functionality for weights isn't being fully utilized, which could affect how voting power influences reward distribution over time.
Call _updateWeights() from inside these two functions and any other which need to update the vote weights or period.
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.