Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphql: check header first in blocks query (#24190)
Fixes #24167 New behaviour is that the endpoint returns results only for available blocks without returning an error when it doesn't find a block. Note we skip any block after a non-existent block. This adds a header fetch for every block in range (even if header is not needed). Alternatively, we could do the check in every field's resolver method to avoid this overhead.
- Loading branch information