From c7a527d58068d37b6f14623aa1fcb951e0ab781e Mon Sep 17 00:00:00 2001 From: healthykim Date: Fri, 20 Mar 2026 17:34:31 +0900 Subject: [PATCH] set incomplete true when the sizelimit is exceeded --- eth/protocols/eth/receipt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/eth/protocols/eth/receipt.go b/eth/protocols/eth/receipt.go index d8b64b0cbb..ac71e0906e 100644 --- a/eth/protocols/eth/receipt.go +++ b/eth/protocols/eth/receipt.go @@ -276,6 +276,7 @@ func blockReceiptsToNetwork(blockReceipts, blockBody rlp.RawValue, q receiptQuer // which is always true because EIP-2718 does not allow tx types > 0x7f. size := rlp.ListSize(1 + uint64(len(content))) if q.sizeLimit > 0 && (uint64(enc.Size())+size) > q.sizeLimit { + incomplete = true break }