Skip to content

Commit

Permalink
add parentHash
Browse files Browse the repository at this point in the history
  • Loading branch information
advaita-saha committed Nov 25, 2024
1 parent 42ddc52 commit 7aa3bda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nimbus/core/executor/process_block.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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")
Expand Down

0 comments on commit 7aa3bda

Please sign in to comment.