reth_consensus_common::validation

Function validate_shanghai_withdrawals

Source
pub fn validate_shanghai_withdrawals(
    block: &SealedBlock,
) -> Result<(), ConsensusError>
Expand description

Validate that withdrawals are present in Shanghai

See EIP-4895: Beacon chain push withdrawals as operations