Skip to content

[proposal] Multisig account timelock#667

Merged
gregnazario merged 2 commits intoaptos-foundation:mainfrom
gregnazario:multisig-account-timelock
Apr 13, 2026
Merged

[proposal] Multisig account timelock#667
gregnazario merged 2 commits intoaptos-foundation:mainfrom
gregnazario:multisig-account-timelock

Conversation

@gregnazario
Copy link
Copy Markdown
Contributor

@gregnazario gregnazario commented Apr 9, 2026

This proposes an opt-in multisig account timelock. Similar to Aptos governance, where voting must take place for X time, before the propoosal can be completed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Aptos Improvement Proposal (AIP-145) describing an opt-in timelock feature for multisig accounts, including configuration, execution/bypass rules, timestamp tracking, and expected testing/security considerations.

Changes:

  • Introduces the AIP-145 document specifying multisig timelock behavior (delay + higher-threshold bypass).
  • Defines proposed on-chain data structures/events/view functions and outlines execution-time validation semantics.
  • Documents invariant rules, error codes, and a test plan/reference implementation link.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +108 to +114
| Code | Name | Description |
|------|------|-------------|
| 2012 | `ETIMELOCK_NOT_EXPIRED` | Prologue error: quorum met but timelock delay has not elapsed |
| 21 | `EINVALID_TIMELOCK_CONFIG` | `timelock_secs` and `bypass_num_signatures` must both be positive or both zero |
| 22 | `EINVALID_TIMELOCK_DURATION` | `timelock_secs` outside valid range (1 hour – 14 days) |
| 23 | `EINVALID_TIMELOCK_BYPASS_THRESHOLD` | `bypass_num_signatures` not in valid range |

Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “New Error Codes” table rows start with ||, which creates an unintended empty first column in Markdown rendering. Use single leading | for the header/separator/rows so the table renders correctly.

Copilot uses AI. Check for mistakes.
@gregnazario gregnazario merged commit db70f9a into aptos-foundation:main Apr 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants