Skip to content

XLS-65: Make vault shares non-escrowable (fixVaultV1_1) - #683

Open
dangell7 wants to merge 2 commits into
XRPLF:masterfrom
Transia-RnD:dangell7/xls-65-vault-share-escrow
Open

dangell7 wants to merge 2 commits into
XRPLF:masterfrom
Transia-RnD:dangell7/xls-65-vault-share-escrow

Conversation

@dangell7

@dangell7 dangell7 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

High Level Overview of Change

XLS-65 now records fixVaultV1_1: VaultCreate no longer sets lsfMPTCanEscrow on the share MPTokenIssuance, and EscrowCreate rejects vault shares, so they cannot be escrowed.

Context of Change

XLS-65 §3.1.6.2.2 sets lsfMPTCanEscrow on every transferable share issuance. EscrowCreate reads that flag from the share issuance, not the vault asset, so shares can be escrowed even when the asset cannot. Escrow moves shares into LockedAmount, which VaultClawback cannot reach, so the asset issuer loses its clawback over them for the life of the escrow.

The change is one file: a fixVaultV1_1 bullet in §2.9, a note under the §3.1.6.2.2 flags table, a §5 paragraph and an Appendix B entry. Share issuances created before the amendment keep the flag, so EscrowCreate rejects the shares of every vault, those vaults included.

Implementation: XRPLF/rippled#8734.

Type of Change

  • XLS Update (changes to an existing XLS)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the vault-share escrow documentation update.

No open issues 🎉

What changed in this PR

Updates XLS-65 to document fixVaultV1_1, which prevents newly created vault shares from being escrowed so they remain accessible to VaultClawback.

Changes:

  • Records the amendment in the change summary, share flags section, and Appendix B.
  • Explains the escrow-related clawback risk and clarifies that pre-amendment share issuances remain escrowable.
  • Updates the specification’s revision date.
File Description
XLS-0065-single-asset-vault/​README.md Documents the escrow restriction, security rationale, and treatment of existing share issuances.

Review effort: Balanced

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new EscrowCreate rejection rule omits the normative tecNO_PERMISSION result code, leaving transaction outcomes and client error handling underspecified.

1 open issue

Review effort: Balanced

| **Public Vault** | `lsfMPTCanEscrow` <br> `lsfMPTCanTrade`<br> `lsfMPTCanTransfer` | No Flags |
| **Private Vault** | `lsfMPTCanEscrow`<br> `lsfMPTCanTrade`<br> `lsfMPTCanTransfer`<br> `lsfMPTRequireAuth` | `lsfMPTRequireAuth` |

> - `fixVaultV1_1`: `lsfMPTCanEscrow` is not set on transferable shares, and `EscrowCreate` rejects vault shares whatever their flags.

This branch has not been deployed

No deployments
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.

2 participants