def METHOD_NAME(self) -> int:
    """
    Block number of the first block in this hard fork.
    """
    if isinstance(self.criteria, ByBlockNumber):
        return self.criteria.block_number
    else:
        raise AttributeError