def recv_prepare(self, from_uid, proposal_id):
        if proposal_id == self.promised_id:
            # Duplicate prepare message
            self.messenger.send_promise(from_uid, proposal_id, self.accepted_id, self.accepted_value)
        
        elif proposal_id > self.promised_id:
            self.promised_id = proposal_id
            self.messenger.send_promise(from_uid, proposal_id, self.accepted_id, self.accepted_value)
Save the current layout state of the dock area.
dataset/ETHPy150Open cocagne/paxos/paxos/essential.py/Acceptor.recv_prepare--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/widgets/dock_area.py/DockArea.save_layout