Granola-Team / mina-indexer

The Mina Indexer is a re-imagined version of the software collectively called the "Mina archive node."
Apache License 2.0
18 stars 10 forks source link

Snarks query limit is ignored #1013

Closed n1tranquilla closed 3 months ago

n1tranquilla commented 3 months ago
curl 'https://api.minasearch.com/graphql' \
  -H 'accept: application/json, multipart/mixed' \
  -H 'accept-language: en-US,en;q=0.6' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'dnt: 1' \
  -H 'origin: https://api.minasearch.com' \
  -H 'pragma: no-cache' \
  -H 'priority: u=1, i' \
  -H 'referer: https://api.minasearch.com/' \
  -H 'sec-ch-ua: "Brave";v="125", "Chromium";v="125", "Not.A/Brand";v="24"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: cors' \
  -H 'sec-fetch-site: same-origin' \
  -H 'sec-gpc: 1' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36' \
  --data-raw '{"query":"\n\n\n\nquery SnarksQuery($limit:Int) {\n  snarks(limit:$limit) {\n    prover\n  }\n}\n","variables":{"limit":10},"operationName":"SnarksQuery"}' | jq
trevorbernard commented 3 months ago

This issue is blocked by: https://github.com/Granola-Team/mina-indexer/issues/1027