diem / dip

Libra Improvement Proposals
https://lip.libra.org
Apache License 2.0
40 stars 55 forks source link

DIP: Multi-agent Transactions #169

Open emmazzz opened 3 years ago

emmazzz commented 3 years ago

Currently in the Diem Framework, a transaction acts on behalf of a single on-chain account. However, there is no mechanism for multiple on-chain accounts to agree on a single atomic transaction. This DIP presents a new scheme of transactions--multi-agent transactions--which act on behalf of multiple on-chain accounts. Multi-agent transactions leverage Move’s signer type to allow essentially any arbitrary atomic actions in one transaction involving multiple on-chain accounts.

DIP PR here: https://github.com/diem/dip/pull/159

aching commented 3 years ago

I'll be happy to be the DIP manager for this.

dahliamalkhi commented 3 years ago

@aching this might be ready to merge in Draft stage?

aching commented 3 years ago

Definitely, just was waiting for the PR to stabilize.

aching commented 3 years ago

There was great discussion in the draft stage and seems that there are no objections in the last 20 days. Proposing to move this to "Last Call".

aching commented 3 years ago

https://github.com/diem/dip/pull/181

aching commented 3 years ago

Tentatively setting a target date to move to Approve or Reject in 2 weeks - June 18th as there has been significant time to provide feedback during the draft and last call combined (already over 2 months). If there are concerns, please raise them.