feat: add 4844 header fields and consensus checks (#3972)

This commit is contained in:
Dan Cline
2023-07-29 08:51:16 -04:00
committed by GitHub
parent 15bb1c90b8
commit 334d6068ad
12 changed files with 368 additions and 7 deletions

View File

@ -714,6 +714,8 @@ fn build_payload<Pool, Client>(
difficulty: U256::ZERO,
gas_used: cumulative_gas_used,
extra_data: extra_data.into(),
blob_gas_used: None,
excess_blob_gas: None,
};
// seal the block
@ -785,6 +787,8 @@ where
difficulty: U256::ZERO,
gas_used: 0,
extra_data: extra_data.into(),
blob_gas_used: None,
excess_blob_gas: None,
};
let block = Block { header, body: vec![], ommers: vec![], withdrawals };