• Sina Mahmoodi's avatar
    graphql: check header first in blocks query (#24190) · c0d17bca
    Sina Mahmoodi authored
    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.
    c0d17bca
Name
Last commit
Last update
..
graphiql.go Loading commit data...
graphql.go Loading commit data...
graphql_test.go Loading commit data...
schema.go Loading commit data...
service.go Loading commit data...