DoS risk in IRamsesGauge(gauge).getReward() when enough periods have passed
Description:
IRamsesGauge(gauge).getReward() iterates through all periods since the first period in the Gauge, which means that whenever a new token is added, it will loop through all periods. Thus, given enough time, there is a DoS risk, although it is likely not significant as it would require a lot of time to pass (probably not even in a lifetime).
Recommended Mitigation:
The Gauge has a getPeriodReward() function which can be used to collect rewards.