Closed c4-judge closed 5 months ago
Trumpero marked the issue as duplicate of #69
Trumpero marked the issue as partial-50
Thanks for upgrading this issue to med!
I would like to know the reason why it was marked as partial-50. Very appreciate if you can reply this and let me learn some rules from this judging.
Judge has assessed an item in Issue #808 as 2 risk. The relevant finding follows:
[L‑01]
claimRewards()
could be reverted due to Out Of GASThere's a possibility of
SurplusGuildMinter#getRewards()
failing due to running out of gas, caused byProfitManager#claimRewards()
because there's no maximum gauge limitation onSurplusGuildMinter
. (canExceedMaxGauges
forSurplusGuildMinter
is set totrue
in deployment scripts)To mitigate this, consider using
ProfitManager#claimGaugeRewards()
instead: