Skip to content

Commit

Permalink
Bugfix: Invalid execution header HTR leads to invalid state root (#4889)
Browse files Browse the repository at this point in the history
  • Loading branch information
zah authored May 4, 2023
1 parent 4a1b94b commit 1e7eec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_chain/validators/validator_duties.nim
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ proc getBlindedBlockParts[EPH: ForkyExecutionPayloadHeader](
transactions_root =
Opt.some executionPayloadHeader.get.blindedBlckPart.transactions_root,
execution_payload_root =
Opt.some hash_tree_root(executionPayloadHeader.get),
Opt.some hash_tree_root(executionPayloadHeader.get.blindedBlckPart),
withdrawals_root = withdrawals_root)

if newBlock.isErr():
Expand Down

0 comments on commit 1e7eec1

Please sign in to comment.