def create_commit_from_pre_prepare(pre_prepare):
    params = [pre_prepare.instId, pre_prepare.viewNo, pre_prepare.ppSeqNo]
    return Commit(*params)
def create_commit_from_pre_prepare(pre_prepare):
    params = [pre_prepare.instId, pre_prepare.viewNo, pre_prepare.ppSeqNo]
    return Commit(*params)