Skip to content

The subgraph getGroups function returns wrong members  #858

@vplasencia

Description

@vplasencia

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ♻️ Grooming

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions