def get_pp_seq_no(nodes: list, inst_id=0) -> int:
    los = set([n.replicas._replicas[inst_id].last_ordered_3pc[1] for n in nodes])
    assert (len(los) == 1)
    return los.pop()
def get_pp_seq_no(nodes: list, inst_id=0) -> int:
    los = set([n.replicas._replicas[inst_id].last_ordered_3pc[1] for n in nodes])
    assert (len(los) == 1)
    return los.pop()