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).
Description
If there are two members in an on-chain Semaphore group and one of the members is removed, the
getGroup
function from theSemaphoreSubgraph
class returns the old value of the member instead of the new value that should be0
.It looks like the function does not take into account when a member is removed (probably also when the member is updated).