Protecting restricted settings from accidental changes

The XRP Ledger offers “Permissioned Domains,” or controlled environments where only approved accounts can access specific assets, order books, or services and change their special settings.

But, there was a bug where even if a transaction failed, it could still accidentally change these restricted settings.

Enforcing limits on vault withdrawals

The XRP Ledger has “Vaults,” which are secure storage containers for tokens. When you withdraw tokens from a vault to send them to another account, the receiving account has a limit on how many tokens it can accept, called a “trust line limit.” Imagine a bank account that can only hold up to $10,000.

The bug: the system wasn’t checking this limit when processing vault withdrawals. So you could potentially send more tokens than the receiving account could hold. The fix ensures the system now respects these limits, preventing overdrafts.

Fixing loan accounting that wasn’t updating

Like Ethereum or other smart contract blockchains, the XRP Ledger supports decentralized lending, where people can borrow and lend cryptocurrency without a bank.

When a loan gets defaulted or impaired, the system is supposed to update all the related records: the loan itself, the lender’s records, and the vault holding collateral. The process, however, has been buggy sometimes with records not updating correctly and hence, balances got stale.

The impending fix ensures that when a loan’s status changes, all the connected ledger entries update properly. It’s like making sure that when you pay off part of your credit card, both your statement and the bank’s internal records reflect that immediately.

Loan overpayment and safety check for LoanBrokers

If someone tries to overpay a loan that doesn’t allow overpayments, the system now returns a clear “no permission” error (tecNO_PERMISSION) instead of a generic invalid flag. This makes the rejection cleaner and easier for apps and users to understand.

Further, it adds a safety check for LoanBrokers, special entities that handle lending pools, to ensure the “CoverAvailable” amount they advertise exactly matches the actual assets sitting in their protected pseudo-account. This strengthens accounting accuracy and prevents any mismatch that could create confusion or risk in the lending system. CoverAvailable is the first-loss capital deposited to protect lenders if borrowers default.

Slated for activation Wednesday

These measures will be activated on the ledger Wednesday.

Validators and node operators need to upgrade their servers before activation or they’ll get amendment-blocked and fall out of sync. A large portion of the network has reportedlty already updated.

XRP continues to trade between $1.30 and $1.40 for the fourth straight day, according to CoinDesk data.

AI Disclaimer: Parts of this article were generated with the assistance from AI tools and reviewed by our editorial team to ensure accuracy and adherence to our standards. For more information, see CoinDesk’s full AI Policy.

More For You

Yearly Volume Weighted Cost Basis (Checkonchain)

Heavy supply concentration and large options positioning continue to suppress volatility and keep bitcoin range-bound.

What to know:

  • Bitcoin rebounded from its 128-day moving average near $74,500
  • It remains below key onchain resistance levels around $77,000, including the true market mean and short-term holder cost basis.
  • Ahead of the $6.6 billion Deribit options expiry on May 29, large open interest at the $75,000 put and $80,000 call is…

About the Author

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Stories