Closed sherlock-admin2 closed 1 month ago
1 comment(s) were left on this issue during the judging contest.
0xmystery commented:
Function loop
continue
s even after error when it should likelybreak
The protocol team fixed this issue in the following PRs/commits: https://github.com/allora-network/allora-chain/pull/437
0x416
Medium
the decay rate can be applied multiple times
Summary
the decay rate can be applied multiple times
Vulnerability Detail
as the function comments suggests,
Apply a function on all active topics that also have an epoch ending at this block
the problem is that if the
we should break instead of continue becaues the error is not expected.
Impact
the decay rate can be applied multiple times
Code Snippet
Tool used
Manual Review
Recommendation
.
Duplicate of #80