Submitted by danb
InteractionLogic.sol#L49
When someone tries to follow a profile, it checks if the handle exists, and if it doesnt, it reverts because the profile is deleted.
The problem is that there might be a new profile with the same handle as the deleted one, allowing following deleted profiles.
Alice creates a profile with the handle alice. The profile id is 1.
She deleted the profile.
She opens a new profile with the handle alice. The new profile id is 2.
Bob tries to follow the deleted profile (id is 1).
The check
doesnt revert because there exists a profile with the handle alice.
Therefore Bob followed a deleted profile when he meant to follow the new profile.
Change to:
Zer0dot (Aave Lens) confirmed and commented:
Zer0dot (Aave Lens) commented:
Zer0dot (Aave Lens) resolved and commented:
0xleastwood (judge) commented:
