From 7aa3bdaa0b6610ee6d9d4a1c8abf4f673a62287a Mon Sep 17 00:00:00 2001 From: Advaita Saha Date: Mon, 25 Nov 2024 20:11:19 +0530 Subject: [PATCH] add parentHash --- nimbus/core/executor/process_block.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nimbus/core/executor/process_block.nim b/nimbus/core/executor/process_block.nim index 3e2f08668..dae78b5be 100644 --- a/nimbus/core/executor/process_block.nim +++ b/nimbus/core/executor/process_block.nim @@ -191,6 +191,7 @@ proc procBlkEpilogue( # TODO replace logging with better error debug "wrong receiptRoot in block", blockNumber = header.number, + parentHash = header.parentHash.short, blockHash = header.blockHash.short, actual = receiptsRoot, expected = header.receiptsRoot @@ -204,6 +205,8 @@ proc procBlkEpilogue( if header.requestsHash.get != requestsHash: debug "wrong requestsHash in block", blockNumber = header.number, + parentHash = header.parentHash.short, + blockHash = header.blockHash.short, actual = requestsHash, expected = header.requestsHash.get return err("requestsHash mismatch")