reth::consensus_common::validation

Function validate_header_gas

pub const fn validate_header_gas(header: &Header) -> Result<(), ConsensusError>
Expand description

Gas used needs to be less than gas limit. Gas used is going to be checked after execution.