In slash(), the event emitted for slashing of self-stakes and slashing of community-stakes have the same fields. From an off-chain perspective, when a staker is slashed for both self-stakes and community-stakes, commnuityStakee address will not be emitted, and it might be hard to distinguish between self-stakes and community-stakes from the same tx.
https://github.com/code-423n4/2024-03-gitcoin/blob/6529b351cd72a858541f60c52f0e5ad0fb6f1b16/id-staking-v2/contracts/IdentityStaking.sol#L497
Consider adding stakee indexed field in the event of community-stake slashing.
