mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: add 4844 header fields and consensus checks (#3972)
This commit is contained in:
@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user