pub fn validate_body_against_header(
body: &BlockBody,
header: &SealedHeader,
) -> Result<(), ConsensusError>
Expand description
Ensures the block response data matches the header.
This ensures the body response items match the header’s hashes:
- ommer hash
- transaction root
- withdrawals root