From 8e028f37579956af85c427f093b79945fe26a521 Mon Sep 17 00:00:00 2001 From: Jared Wasinger Date: Tue, 6 Jan 2026 14:45:48 +0900 Subject: [PATCH] core/types: ensure that block bodies are always downloaded (they will contain BALs even if they are otherwise empty). This is a temporary hack to ensure we can sync bal devnet 1 --- core/types/block.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/types/block.go b/core/types/block.go index 3ba7ce7f47..459b5e91dd 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -172,10 +172,8 @@ func (h *Header) SanityCheck() error { // EmptyBody returns true if there is no additional 'body' to complete the header // that is: no transactions, no uncles and no withdrawals. func (h *Header) EmptyBody() bool { - var ( - emptyWithdrawals = h.WithdrawalsHash == nil || *h.WithdrawalsHash == EmptyWithdrawalsHash - ) - return h.TxHash == EmptyTxsHash && h.UncleHash == EmptyUncleHash && emptyWithdrawals + // quick hack to ensure that we download bodies for empty blocks so that we receive the BALs + return false } // EmptyReceipts returns true if there are no receipts for this header/block.