pub fn validate_block_pre_execution(
block: &SealedBlock,
chain_spec: &ChainSpec,
) -> Result<(), ConsensusError>
Expand description
Validate a block without regard for state:
- Compares the ommer hash in the block header to the block body
- Compares the transactions root in the block header to the block body
- Pre-execution transaction validation
- (Optionally) Compares the receipts root in the block header to the block body