ensure_empty_shanghai_withdrawals

Function ensure_empty_shanghai_withdrawals 

pub fn ensure_empty_shanghai_withdrawals<T>(
    body: &T,
) -> Result<(), OpConsensusError>
where T: BlockBody,
Expand description

Verifies that withdrawals in block body (Shanghai) is always empty in Canyon. https://specs.optimism.io/protocol/rollup-node-p2p.html#block-validation