Update service.go

This commit is contained in:
Felix Lange 2025-08-07 20:28:18 +02:00 committed by GitHub
parent 52791a1a7b
commit f485b23602
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,8 +33,6 @@ import (
)
// maxQueryDepth limits the maximum field nesting depth allowed in GraphQL queries.
// Without this bound, deeply nested queries could exhaust resources and lead to DoS.
// See https://github.com/ethereum/go-ethereum/issues/26026 for more details.
const maxQueryDepth = 20
type handler struct {