keep verification of payloads pre 4844

This commit is contained in:
realbigsean
2023-01-27 17:59:40 +01:00
parent 2645249eb5
commit 37e7c1d5c7
3 changed files with 17 additions and 20 deletions

View File

@@ -24,9 +24,10 @@ use metastruct::metastruct;
///
/// Credit to Reth for the type definition.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
#[metastruct(mappings(
map_execution_block_header_fields_except_withdrawals(exclude(withdrawals_root, excess_data_gas)),
))]
#[metastruct(mappings(map_execution_block_header_fields_except_withdrawals(exclude(
withdrawals_root,
excess_data_gas
)),))]
pub struct ExecutionBlockHeader {
pub parent_hash: Hash256,
pub ommers_hash: Hash256,