def is_retryable_error(message):
    """common errors due to trying to access a block
    that hasn't been synced to the current node"""
    if message == 'Unknown block number':
        return True
    if (message ==
        'One of the blocks specified in filter (fromBlock, toBlock or blockHash) cannot be found'
        ):
        return True
    return False
