go-ethereum/graphql
Newt6611 23dca0cd78 graphql: handle nil block in Raw method
Add a nil check for the resolved block to prevent a panic
when encoding a nil block to RLP bytes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 22:19:57 +08:00
..
internal/graphiql all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00
graphiql.go graphql: upgrade UI to v2 (#27294) 2023-05-22 08:15:05 -04:00
graphql.go graphql: handle nil block in Raw method 2026-03-01 22:19:57 +08:00
graphql_test.go graphql: add query depth limit to prevent DoS attacks (#32344) 2025-08-19 19:47:47 +08:00
schema.go internal/ethapi: remove td field from block (#30386) 2024-10-01 11:36:56 +02:00
service.go graphql: add query depth limit to prevent DoS attacks (#32344) 2025-08-19 19:47:47 +08:00