Repository navigation
PE-9769 docs: clarify Root recovery signer rotation - #80
splits-gerard wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
zherring
left a comment
There was a problem hiding this comment.
some problems here @splits-gerard
There was a problem hiding this comment.
confused by this wording @splits-gerard wdym and is this appropriate?
| Accounts form an ownership chain (Root → Treasury → operating and automation accounts) in which each account is the onchain owner of those below it. | ||
|
|
||
| Ownership carries the powers signers don't have. An account's signers can change the account's own signer set and threshold, but **only its owner can upgrade the account's contract implementation or transfer its ownership**, and the owner can execute from the account directly, which is how a [signer reset](/accounts/editing#resetting-signers) and [recovery](/workspaces/recovery) work. A rogue signer on a low-threshold account can therefore reach at most that account's balance, never its ownership or code. The Root has no external owner and owns itself: owner actions on it fall to its own signers, the recovery signers, at the recovery threshold. | ||
| Ownership carries the powers signers don't have. An account's signers can change the account's own signer set and threshold, but **only its owner can upgrade the account's contract implementation or transfer its ownership**, and the owner can execute from the account directly, which is how a [signer reset](/accounts/editing#resetting-signers) and [recovery](/workspaces/recovery) work. A rogue signer on a low-threshold account can therefore reach at most that account's balance, never its ownership or code. The Root has no external owner: its recovery signers can authorize owner actions at the recovery threshold. See [Changing recovery signers](/workspaces/recovery#changing-recovery-signers) for the limits of changing the Root's own signers. |
There was a problem hiding this comment.
@splits-gerard "for the limits of changing roots own signers."
the workspaces docs say you can't. is there a reason we're directing them there to read this instead of just explicitly stating that?
| ## Changing recovery signers | ||
|
|
||
| Account addresses are derived from the recovery configuration using [`CREATE2`](https://docs.openzeppelin.com/cli/2.8/deploying-with-create2). That's what makes every account's address identical on every network (including networks added later) while keeping custody fully with the workspace. The consequence: **changing recovery signers changes the workspace's account addresses.** | ||
| The Root's original signers and threshold are part of its [`CREATE2`](https://docs.openzeppelin.com/cli/2.8/deploying-with-create2) address calculation. Changing those *creation parameters* creates a different Root address and therefore different account addresses beneath it. Changing the signer set of an already deployed Root onchain would keep its address, but **Splits does not support rotating the Root's signers in an existing workspace**, in the app, API, or CLI. |
There was a problem hiding this comment.
@splits-gerard the way this is written sounds like changing recovery signers is possible at the contracts level when, afiak, it isn't
| ## Creating a workspace | ||
|
|
||
| Creating a workspace takes under a minute, and everything about it can be changed after setup **except Recovery**: changing recovery signers later generates new account addresses (see [Change recovery signers](/workspaces/recovery#changing-recovery-signers)). | ||
| Creating a workspace takes under a minute. **Splits does not support changing its recovery signers after setup.** To change them with product support, create a new workspace; see [Changing recovery signers](/workspaces/recovery#changing-recovery-signers). |
There was a problem hiding this comment.
@splits-gerard "to create them with product support" means nothing to me. what?
Summary
Verification
pnpm install --frozen-lockfileandpnpm buildpassed (prose lint, link validation, generated Markdown).workspaces/recovery.mdtwin andllms-full.txt.Related: PE-9769, PE-9732.
Prompted by: PE-9769 Linear issue