Skip to content
EnabledTier BSecurity

fixCleanup3_4_0

The bundled fix for xrpld 3.4.0 corrects edge cases in vaults, lending, AMMs, the permissioned DEX, escrow, sponsorship, and delegation. fixCleanup3_4_0 is enabled on the XRP Ledger. xrpscan reports Nov 4, 2026 (UTC) as its activation date and xrpld 3.4.0 as its first version.

Sources reviewed Oct 5, 2026 · English page updated Oct 5, 2026 · Phil · CryptoTuts founder

Status
Enabled
XLS
No separate XLS
Enabled
Nov 4, 2026 (UTC)

What does this amendment fix?

Which failure case does this fix correct?

fixCleanup3_4_0 bundles the amendment-gated corrections in xrpld 3.4.0. These include more precise rounding in vault transactions, stricter rules for late and defaulted loans, full recovery through AMMClawback, and separate signing prefixes for SponsorSignature and CounterpartySignature.

Who is affected?

XRP holders need to take no action. After activation, users of vaults, lending, AMM pools, or sponsorship receive different result codes and more consistent balances in several edge cases.

What changes compared with the predecessor?

BeforeAfter
A sponsor could end reserve sponsorship for an individual object even when the sponsored account could not cover that reserve itself. Integer MPT rounding could cause AMMClawback to recover zero while burning the holder's LP tokens.When sponsorship ends, the ledger checks the sponsored account's ability to cover the reserve, rejects AMMClawback amounts that round to zero, and treats loans as late, impaired, or defaulted only once their due time has been strictly exceeded.

Who is this change relevant to?

XRP holders and users

Holding XRP requires no action. Vault depositors benefit from more precise rounding, and sponsored accounts retain reserve coverage until they or another sponsor can take it over.

Wallets and app developers

Apps handle changed result codes such as tecPSEUDO_ACCOUNT, tecDUPLICATE, and temBAD_CURRENCY and generate SponsorSignature and CounterpartySignature using their respective signing prefixes.

Exchanges and issuers

Issuers using asfDisallowIncomingTrustline are also protected against token receipt through OfferCreate. Lending providers can mark loans as defaulted only after their due time has been strictly exceeded.

Node operators

Validators vote on the bundled fix. Nodes need xrpld 3.4.0 or later to recognize fixCleanup3_4_0 and continue participating in consensus after activation.

What limitations and risks remain?

  • This bundled fix corrects existing features and introduces no new transaction type.
  • Corrections for Sponsor or PermissionDelegationV1_1 have practical effect only when the corresponding feature amendment is also enabled.
  • According to XLS-68, the object-level reserve check when ending sponsorship depends on fixCleanup3_4_0; the account-level check applies with Sponsor alone.
Technical details: transactions, fields, codes and invariants

Transactions

  • VaultDeposit
  • VaultWithdraw
  • VaultClawback
  • VaultSet
  • LoanSet
  • LoanManage
  • LoanBrokerCoverWithdraw
  • AMMBid
  • AMMClawback
  • AMMDeposit
  • AMMWithdraw
  • OfferCreate
  • Payment
  • NFTokenCreateOffer
  • MPTokenAuthorize
  • EscrowFinish
  • EscrowCancel
  • SponsorshipTransfer

Ledger objects

  • Vault
  • Loan
  • LoanBroker
  • AMM
  • Offer
  • MPToken
  • Escrow
  • RippleState

Fields and flags

  • SponsorSignature / CounterpartySignature (separate signing prefixes)
  • CredentialIDs (new in VaultWithdraw)
  • asfDisallowIncomingTrustline (also applies to OfferCreate)
  • tfMPTUnauthorize
  • AssetsTotal / AssetsMaximum

Result codes

  • tecPSEUDO_ACCOUNT
  • tecAMM_FAILED
  • tecDUPLICATE
  • tecNO_PERMISSION
  • tecINSUFFICIENT_RESERVE
  • temBAD_CURRENCY
  • temMALFORMED

Invariants

  • ValidVault no longer blocks VaultSet when accrued interest alone raises AssetsTotal above AssetsMaximum.
  • ValidPermissionedDEX ignores deleted domains and requires an offer to match its domain's order book.
  • ValidMPTBalanceChanges and ValidMPTTransfer are enforced and also apply to failed transactions.

How does this amendment relate to others?

Every direct relationship has a type, an explanation and a primary source.

bundles fixes for

AMM

The bundled fix for xrpld 3.4.0 corrects edge cases in vaults, lending, AMMs, the permissioned DEX, escrow, sponsorship, and delegation. The documented bundled fix covers AMM.

Check the relationship in the primary source

bundles fixes for

DisallowIncoming

The bundled fix for xrpld 3.4.0 corrects edge cases in vaults, lending, AMMs, the permissioned DEX, escrow, sponsorship, and delegation. The documented bundled fix covers DisallowIncoming.

Check the relationship in the primary source

What happens next for this amendment?

fixCleanup3_4_0 is enabled on the XRP Ledger. xrpscan reports Nov 4, 2026 (UTC) as its activation date and xrpld 3.4.0 as its first version.

These rules are already part of Mainnet. Server operators need a compatible xrpld (formerly rippled) version; ordinary wallet users do not need to enable anything manually.

Where does it sit within its amendment family?

AMM and Clawback: protocol progression

  1. DeletableAccountsEnabled · from rippled 1.4.0
  2. TicketBatchEnabled · from rippled 1.7.0
  3. DisallowIncomingEnabled · from rippled 1.10.0
  4. AMMEnabled · from rippled 1.12.0
  5. ClawbackEnabled · from rippled 1.12.0
  6. fixDisallowIncomingV1Enabled · from rippled 2.0.0
  7. fixInnerObjTemplateEnabled · from rippled 2.1.0
  8. fixAMMOverflowOfferEnabled · from rippled 2.1.1
  9. fixAMMv1_1Enabled · from rippled 2.2.0
  10. fixPreviousTxnIDEnabled · from rippled 2.2.0
  11. AMMClawbackEnabled · from rippled 2.3.0
  12. fixAMMv1_2Enabled · from rippled 2.3.0
  13. fixInnerObjTemplate2Enabled · from rippled 2.3.0
  14. fixFrozenLPTokenTransferEnabled · from rippled 2.4.0
  15. DeepFreezeEnabled · from rippled 2.4.0
  16. PermissionedDEXEnabled · from rippled 2.5.0
  17. fixAMMv1_3Enabled · from rippled 2.5.0
  18. PermissionDelegationDeprecated · from rippled 2.5.0
  19. fixAMMClawbackRoundingEnabled · from rippled 3.0.0
  20. SponsorOpen for voting · from xrpld 3.3.0
  21. PermissionDelegationV1_1Enabled · from xrpld 3.3.0
  22. fixCleanup3_3_0Enabled · from xrpld 3.3.0
  23. fixCleanup3_4_0Enabled · from xrpld 3.4.0
  24. MPTokensV2In development

Which primary sources support this information?

← All XRPL amendments and XLS specifications