-
Notifications
You must be signed in to change notification settings - Fork 287
Description
Describe the bug
URL https://api.studio.thegraph.com/query/14377/semaphore-/v4.5.0 only works for a few networks, namely sepolia, arbitrum-sepolia, scroll-sepolia, gnosis-chiado, gnosis. For all other networks it doesn't work and returns {"message":"Not found"}
Also stemming from that the getGroup function in data package can't properly handle this error and to any client using @semaphore-protocol/data it shows up as runtime(second attached screenshot) and not a proper formated error(Blockchain voting error: TypeError: Cannot read properties of undefined (reading 'groups')).
To Reproduce
Steps to reproduce the behavior:
- Go to https://api.studio.thegraph.com/query/14377/semaphore-base/v4.5.0/graphql
- It shows {"message":"Not found"}
Expected behavior
It should open thegraph console where you can enter your graphql query, which would mean the url is valid and working properly. Example of working URL - https://api.studio.thegraph.com/query/14377/semaphore-sepolia/v4.5.0/
Screenshots
