pub(crate) fn block_precommit_metrics(block: &Block, hash: Hash, height: Height)
Update metrics before committing a block.
The metrics are updated after contextually validating a block, but before writing its batch to the state.