From b122a67b23a0f457370e565b3ce14c9fd35807dd Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 18 May 2026 22:55:12 +0200 Subject: [PATCH] eth/protocols/eth: fix empty response --- eth/protocols/eth/handlers.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eth/protocols/eth/handlers.go b/eth/protocols/eth/handlers.go index 4638b01e0d..4da4be59e7 100644 --- a/eth/protocols/eth/handlers.go +++ b/eth/protocols/eth/handlers.go @@ -687,7 +687,9 @@ func serviceGetBlockAccessListsQuery(chain *core.BlockChain, query GetBlockAcces } data := chain.GetAccessListRLP(hash) if len(data) == 0 { - bals.AppendRaw([]byte{0xC0}) + // The signal for missing BAL is the empty string, because + // an empty list is also a valid BAL. + bals.AppendRaw(rlp.EmptyString) continue } bals.AppendRaw(data)