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

The subgraph getGroups function returns wrong members #858

Open
vplasencia opened this issue Sep 30, 2024 · 0 comments
Open

The subgraph getGroups function returns wrong members #858

vplasencia opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@vplasencia
Copy link
Member

Description

If there are two members in an on-chain Semaphore group and one of the members is removed, the getGroup function from the SemaphoreSubgraph class returns the old value of the member instead of the new value that should be 0.

It looks like the function does not take into account when a member is removed (probably also when the member is updated).

@vplasencia vplasencia added the bug 🐛 Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
Status: 🗒 Tasks
Development

No branches or pull requests

2 participants