plugeth/graphql
Sina Mahmoodi c0d17bca52
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.
2022-01-05 16:11:46 +01:00
..
graphiql.go common, graphql: fix hash/address decoding + UI content type 2019-09-10 12:20:36 +03:00
graphql_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
graphql.go graphql: check header first in blocks query (#24190) 2022-01-05 16:11:46 +01:00
schema.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
service.go graphql: always return 400 if errors are present in the response (#21882) 2020-11-25 10:19:36 +01:00