pub fn verify_consistency(
        &self,
        l1_batch_number: L1BatchNumber,
    ) -> Result<(), ConsistencyError> {
        let version = u64::from(l1_batch_number.0);
        self.tree.verify_consistency(version, true)
    }
Verifies tree consistency. `l1_batch_number` specifies the version of the tree
to be checked, expressed as the number of latest L1 batch applied to the tree.

# Errors

Errors if an inconsistency is detected.
core/lib/merkle_tree/src/domain.rs