From 2aec17bdc1280d33a1548ed7c151c009536c4a09 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocol/src/types/block.rs b/protocol/src/types/block.rs index b4b4adc9a..6fd45ed11 100644 --- a/protocol/src/types/block.rs +++ b/protocol/src/types/block.rs @@ -219,6 +219,8 @@ 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,