Skip to content

Commit b641582

Browse files
committed
Track blob gas when upgrading to electra
1 parent aba6345 commit b641582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

specs/electra/fork.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def upgrade_to_electra(pre: deneb.BeaconState) -> BeaconState:
8888
block_hash=pre.latest_execution_payload_header.block_hash,
8989
transactions_root=pre.latest_execution_payload_header.transactions_root,
9090
withdrawals_root=pre.latest_execution_payload_header.withdrawals_root,
91-
blob_gas_used=uint64(0),
92-
excess_blob_gas=uint64(0),
91+
blob_gas_used=pre.latest_execution_payload_header.blob_gas_used,
92+
excess_blob_gas=pre.latest_execution_payload_header.excess_blob_gas,
9393
deposit_receipts_root=Root(), # [New in Electra:EIP6110]
9494
exits_root=Root(), # [New in Electra:EIP-7002],
9595
)

0 commit comments

Comments
 (0)