This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
Listener storing identities under proxy rather than wallet address #2819
Open
Description
In some cases the listener seems to be storing data in the Identity table by the proxy rather than the wallet's address.
- @mikeshultz found a couple of such rows in prod DB while running the consistency checker
- @shahthepro was able to reproduce on his local as mentioned in issue [SocialRewards] Use proxy to get identity #2813
The listener should be using the wallet's address. See this code.
This impacts the payout fraud detection for Origin Rewards as well as the notifications service since both those components rely on looking up identity by wallet address.