From 30dce7f232b1864ff4afdce8f3a2a80e0b69b11c Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Fri, 18 Nov 2022 02:25:56 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alex Stokes --- specs/eip4844/fork.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specs/eip4844/fork.md b/specs/eip4844/fork.md index fcae85c25..8e3a727df 100644 --- a/specs/eip4844/fork.md +++ b/specs/eip4844/fork.md @@ -81,9 +81,10 @@ def upgrade_to_eip4844(pre: bellatrix.BeaconState) -> BeaconState: timestamp=pre.latest_execution_payload_header.timestamp, extra_data=pre.latest_execution_payload_header.extra_data, base_fee_per_gas=pre.latest_execution_payload_header.base_fee_per_gas, - excess_blobs=uint64(0), # [New in EIP-4844] + excess_data_gas=uint256(0), # [New in EIP-4844] block_hash=pre.latest_execution_payload_header.block_hash, transactions_root=pre.latest_execution_payload_header.transactions_root, + withdrawals_root=pre.latest_execution_payload_header.withdrawals_root, ) post = BeaconState( # Versioning