From 2a4756da2e1ef0a05e6c929dcd2f420e166604ff Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Tue, 6 Apr 2021 11:48:33 +0600 Subject: [PATCH] Add transactions_root to ApplicationBlockHeader --- specs/merge/beacon-chain.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specs/merge/beacon-chain.md b/specs/merge/beacon-chain.md index 5bad1529c..86bb0bc95 100644 --- a/specs/merge/beacon-chain.md +++ b/specs/merge/beacon-chain.md @@ -127,6 +127,7 @@ class ApplicationBlockHeader(Container): gas_used: uint64 receipt_root: Bytes32 logs_bloom: ByteVector[BYTES_PER_LOGS_BLOOM] + transactions_root: Root ``` ## Helper functions @@ -203,5 +204,6 @@ def process_application_payload(state: BeaconState, body: BeaconBlockBody) -> No gas_used=application_payload.gas_used, receipt_root=application_payload.receipt_root, logs_bloom=application_payload.logs_bloom, + transactions_root=hash_tree_root(application_payload.transactions), ) ```