chore: extra data (#13410)

This commit is contained in:
Roman Krasiuk
2024-12-16 04:58:36 +01:00
committed by GitHub
parent 091c5499ba
commit f36e369021
11 changed files with 37 additions and 37 deletions

View File

@ -19,7 +19,7 @@ use reth_consensus_common::validation::{
validate_against_parent_4844, validate_against_parent_eip1559_base_fee,
validate_against_parent_hash_number, validate_against_parent_timestamp,
validate_body_against_header, validate_cancun_gas, validate_header_base_fee,
validate_header_extradata, validate_header_gas, validate_shanghai_withdrawals,
validate_header_extra_data, validate_header_gas, validate_shanghai_withdrawals,
};
use reth_optimism_chainspec::OpChainSpec;
use reth_optimism_forks::OpHardforks;
@ -170,8 +170,8 @@ impl HeaderValidator for OpBeaconConsensus {
// Block validation with respect to the parent should ensure that the block timestamp
// is greater than its parent timestamp.
// validate header extradata for all networks post merge
validate_header_extradata(header)?;
// validate header extra data for all networks post merge
validate_header_extra_data(header)?;
// mixHash is used instead of difficulty inside EVM
// https://eips.ethereum.org/EIPS/eip-4399#using-mixhash-field-instead-of-difficulty