highLogic errorEVM-Solidity
Phi: `shareBalance` bloating eventually blocks curator rewards distribution
- Payout
- $0
- Protocol
- Phi
- Disclosed
- Oct 7, 2024
- Source
- code4rena
In Phi protocol's `Cred` contract, curator share balances are tracked using an `EnumerableMap`. When a curator sells all of their shares, `_updateCuratorShareBalance` sets their balance to zero instead of removing their address key from the map. As historical …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-08-phi-findings/issues/65
- https://github.com/code-423n4/2024-08-phi-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.