From 474debb79cda85816c4afb4b6a8e8fcd6966d4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BC=82=E6=B5=81?= Date: Wed, 20 Sep 2023 23:13:19 +0800 Subject: [PATCH] Update protocol/src/types/block.rs Co-authored-by: Flouse <1297478+Flouse@users.noreply.github.com> --- protocol/src/types/block.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/protocol/src/types/block.rs b/protocol/src/types/block.rs index b4b4adc9a..ab1236dbe 100644 --- a/protocol/src/types/block.rs +++ b/protocol/src/types/block.rs @@ -219,6 +219,9 @@ pub struct Header { pub number: BlockNumber, pub gas_used: U256, pub gas_limit: U256, + /// Extra data for the block header + /// The first index of extra_data is used to store hardfork information: + /// `HardforkInfoInner` pub extra_data: Vec, pub base_fee_per_gas: U256, pub proof: Proof,