Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a bug in the code. request.requester = event.transaction.from; #28

Open
kemuru opened this issue May 3, 2024 · 0 comments · May be fixed by #29
Open

There is a bug in the code. request.requester = event.transaction.from; #28

kemuru opened this issue May 3, 2024 · 0 comments · May be fixed by #29

Comments

@kemuru
Copy link
Collaborator

kemuru commented May 3, 2024

The issue comes from this line in the subgraph mapping: request.requester = event.transaction.from; So essentially the tag-registry-rewards repo script tags the top-level address that led to the event, instead of the actual requester. Some people use sponsored callers, and currently the script would distribute the rewards to the sponsor addresses instead of to the actual correct addresses.

the month of april a workaround was made in order to generate that month's curate incentives:

https://github.com/y86993/tag-registry-rewards
https://github.com/y86993/gtcr-subgraph

Pls fix

Probably some change also necessary on the tag-registry-rewards repo. Can use the repos above as reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant