semaphore-protocol / semaphore

A zero-knowledge protocol for anonymous interactions.
https://semaphore.pse.dev
MIT License
887 stars 194 forks source link

Remove existence check for `groupId` #708

Closed vplasencia closed 6 months ago

vplasencia commented 6 months ago

Describe the improvement you're thinking about

Since the group ids are created incrementally internally in the contracts, there's no need to check whether the group id has already been taken.

More context: https://github.com/semaphore-protocol/semaphore/pull/703