Skip to content

thegraph doesn't work for most of the supported networks #1053

@Piliponful

Description

@Piliponful

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:

  1. Go to https://api.studio.thegraph.com/query/14377/semaphore-base/v4.5.0/graphql
  2. 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

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions