Who Decides When an XRP Ledger Upgrade Is Safe Enough to Go Live?

XRP
formal verificationvalidator votinglending protocolXRP LedgeramendmentXLS-66Ripple
3 hours agoSource: crypto.news
Who Decides When an XRP Ledger Upgrade Is Safe Enough to Go Live?

XRP Ledger validators were days into a two-week countdown for native lending when a final software review found issues in the proposed protocol. Ripple withdrew its votes on lending and the related vault amendment on Dec. 1, and the loss of validator support showed what it takes to stop an upgrade before it changes how the live network handles transactions.

Summary

  • XRP Ledger Operations said a final formal verification review found issues in the proposed lending protocol known as XLS-66.
  • Ripple withdrew its support for the lending and vault amendments on Dec. 1 before either change went live on Mainnet.
  • The tracker recorded 28 votes for each lending amendment and 25 for the vault after all three lost their majority.
  • XRP Ledger amendments generally need more than 80% support from trusted validators over two consecutive weeks.
  • The Dec. 9 and Dec. 11 activation windows fell away and no replacement dates were announced as of Dec. 2.

RippleX, Ripple’s development arm, said its engineers were working on fixes and would test them with the XRP Ledger Foundation and other partners. XRP Ledger Operations said the amendments had yet to go live on Mainnet and that no funds were at risk from the issues it identified.

The work now returns to engineers and independent reviewers. If operators give the updated software enough votes, each amendment will begin a new countdown.

The businesses planning to use the changes have a further question about when they will be ready to open their own services.

The review interrupted two launch schedules

The lending vote gathered support in stages. A November snapshot put the original lending amendment at 22 votes and the vault at 23.

Later in the month, the vault reached the required majority on Nov. 25. The two lending amendments reached it on Nov. 27.

The two majority dates put the earliest estimated activation for the vault on Dec. 9 and lending on Dec. 11. Our reporting on the lending majority described the December date as the point the proposal could reach after maintaining support for the required time.

The review changed the assumptions behind those dates. XRP Ledger Operations reported that the final round of formal verification found issues with XLS-66, the lending design.

The public update did not say what the issues were. It called for fixes and independent checks before the upgrade moved forward.

RippleX said in a Dec. 1 post that Ripple was withdrawing its validator votes on the lending and vault proposals. Ripple’s engineers also have work to do on the fixes.

Writing and testing the software is a development role, while selecting a vote is a decision made by a validator operator.

The vote tracker recorded the loss of all three majorities at the same ledger close shortly after 17:00 UTC on Dec. 1. The original LendingProtocol and the follow-up LendingProtocolV1_1 each had 28 votes.

SingleAssetVault had 25. The threshold for each in that round was 29.

The two lending entries track related work under separate amendment identifiers. The original introduces the lending protocol.

The follow-up includes changes to how new brokers would use vaults, as described in the release notes for XRP Ledger server version 3.4.0.

The loss of majority removed the timing behind the three entries. A later increase in votes would record a new majority, followed by a new holding period.

The time spent over the threshold in November does not accumulate toward a new December countdown.

A reader looking at a screenshot should also check when the tracker counted the votes. A snapshot showing majority was accurate for that point in November.

The ledger record now shows why a calendar date derived from that screenshot no longer applies.

The snapshots tracked the same proposals at several points in November. Reporting in mid-November put the original lending amendment within five votes of activation eligibility after it reached 24.

At that stage the tally gave teams an idea of how much support they still needed before they could start counting the two weeks.

The vault’s earlier majority created a real possibility that it would become active ahead of the loan features. The schedule changed only after participants chose to pause support for the upgrades together.

Operators preparing software had to update two separate expectations from the same announcement.

The dates were useful for planning because service providers could work back from them. A wallet developer testing support for a new transaction could decide what to finish before Dec. 9.

The actual deployment was conditional on both the amendment majority and the needs of the service using it.

Formal verification brought a new finding to an advanced release

Formal verification uses mathematical methods to check whether a system complies with a specification under stated assumptions. A traditional software test checks what happens in selected scenarios.

A formal check can show whether specified properties hold across the states covered by its model.

Borrowing and lending touch several records at once, including shares in a vault and a borrower’s obligations to repay a loan. A verification effort can ask whether a defined property remains true when the documented operations occur in different sequences.

The public announcement gave no account of which property led to the findings on this occasion.

The specification determines the question the process answers. If a rule says how balances should relate when an operation succeeds, a verification effort can check that relationship within its model.

Engineers still need to confirm that the rule makes sense, that the model represents the implementation and that the published software behaves as operators expect.

An independent check gives reviewers a chance to raise questions about those assumptions after engineers produce a patch. They can evaluate whether the revised version matches the behavior in the specification and whether the changes affect other parts of the system.

RippleX said its engineers would test fixes with the foundation and other ecosystem partners. XRP Ledger Operations said the results and a detailed report would be shared with the community.

As of Dec. 2, it had given neither a replacement date nor a public technical account of the findings.

Lending was developed before formal verification became part of the network’s development process, according to XRP Ledger Operations. The team said it plans to make the method a standard step for major features before they go to validators.

Putting that work before voting would give node operators evidence earlier in the release cycle.

The timing helps explain why the votes could be close to activation while the review was still capable of stopping the launch. A validator could have judged the available release and backed it in November.

The new finding gave that operator a reason to assess the same vote again.

Once an amendment is active, the network applies it to subsequent ledgers. Disabling it would generally require another amendment.

The moment before activation gives developers and operators a way to fix the software while the proposed transaction rules are still outside Mainnet.

Our Dec. 1 report recorded the operations team’s statement that no funds were at risk. The statement concerns the reported findings before these amendments went live.

It leaves the usual questions about development, testing and future market risks to the projects involved.

A specification, a release and a vote each carry different evidence

The project’s development guidance begins with a written specification. An XRP Ledger Standards proposal describes the problem and how a planned change should behave.

The lending and vault designs carry separate XLS numbers because each defines a different part of the workflow.

A standards document can explain how a piece of the ledger is meant to work without being the code a server runs. An implementation turns the design into instructions the network can use.

A test suite checks that implementation against cases the developers expect it to handle.

The XRP Ledger’s code contribution guidance describes code review before changes are merged and further testing on Devnet. It also describes testing a release candidate before the code is made available in a release Mainnet operators can install.

Several stages can therefore supply evidence to a validator considering its vote.

Consider a wallet that will let users view an existing vault. Its team can see the expected data format in the specification and check how its interface displays that information in a test network.

The two records answer questions about the planned behavior and the experience in the test environment. Neither by itself supplies what the Mainnet status is.

The developer behind a feature can also change it after hearing from others. A release candidate lets server and application operators try the same version before deciding how to deploy it.

A later patch could require them to repeat some of those checks even if their own interface has stayed the same.

The public work on the lending follow-up provides an example. The 3.4.0 release describes an accounting change and the phased vault lifecycle as part of LendingProtocolV1_1.

The software’s description tells a developer what it can prepare to support. A dated vote record and later Mainnet records tell it whether operations under that amendment can take effect.

An update can include code for more than one amendment. Changes that alter transaction processing go through amendment voting.

Other work in a release, such as certain build improvements, can reach operators through the software version without carrying its own countdown. A single release date therefore says little on its own about when all the protocol changes it contains become active.

The sequence also gives contributors more than one place to ask for a change. They can raise a point about the specifications, report an issue during testing or reconsider a vote if new evidence appears after a release.

The Dec. 1 update came late in that sequence, at a point when a majority had formed but had yet to enable lending.

Working out whether a future repair has passed those steps requires matching the review with the exact version of the software. A report can refer to a particular implementation.

If the release includes later revisions, a reviewer or operator needs to know which changes were included in the independent examination.

XRP Ledger operators have separate roles in the vote

A developer can propose and implement a change. A validator operator decides how its own server votes on an amendment.

Other operators run servers that submit transactions or provide data, without casting amendment votes. An exchange or wallet provider can run such a server even when it has no role in choosing features.

A validator takes part in the process used to agree on ledger state. In the amendment process, votes from trusted validators count toward a change.

Holding XRP in an individual account supplies no votes under that process.

A server’s Unique Node List is the set of validators it trusts when evaluating consensus and related messages. XRP Ledger documentation says the default setup uses recommended list sites associated with Ripple and the XRP Ledger Foundation.

The overlap among operators’ trusted sets helps their servers reach a common result.

Operators can configure their own trusted lists. Published amendment trackers therefore need a basis for their count, and the result is most informative when it includes the source and time.

Twenty-eight was the count shown for each lending entry during the Dec. 1 loss of majority, and 29 was the threshold in that round.

Ripple’s withdrawal had an immediate public effect because support for lending was close to the required threshold. XRP Ledger Operations also described validators withdrawing support so the lending and vault changes could be considered together.

The public count records the collective result.

Ripple has a role as a software contributor and validator operator and participates in the default validator list arrangements. Those roles give it several ways to influence the rollout.

The voting rules leave network activation to the required support from trusted validators over time.

One operator can provide a decisive vote when a proposal sits right at the threshold. The same operator would have a different effect if support were much higher.

The distinction is visible in the Dec. 1 tally, when 28 was one short, and in the vault’s tally of 25 after the votes changed.

An individual validator can configure how it votes on an amendment in the server software, including changing a prior choice. The version includes default choices for cases when the operator has made no selection.

A default can change in a later release, so operators interested in the result have a reason to read the release notes when upgrading.

For someone trying to see who has made the safety decision, several records answer different questions. A review report describes what engineers and reviewers examined.

A validator’s published statement describes its own decision. The sequence of majority records shows whether the network met the condition to activate the change.

A validator considering the updated release could have questions that differ from a developer’s. It needs to know whether the code under review matches its installed software and whether the proposed activation leaves it enough time to prepare.

An operator supporting several customers could also look at what the upgrade means for its service obligations.

A public statement from one validator tells readers where that operator stands. A group statement can explain why participants made similar decisions.

The network would still count their votes at the relevant ledger check. Someone monitoring activation needs that record even when several operators announce the same plan.

A validator list publisher and a listed validator also serve different functions. The publisher distributes a recommended list.

The validator submits messages that others can use when evaluating the ledger. A change in which validators a tracker counts can affect the denominator, so attaching the threshold to a specific snapshot is more precise than treating 29 as a permanent number.

The two-week interval leaves time for operators outside the development project to consider changes. It also gives businesses a period to prepare once support appears.

The December case shows that those two functions can overlap: operators were still able to change their votes while application developers thought about the approaching dates.

How the ledger counts the two weeks

The network checks amendment votes at intervals tied to the ledger itself. According to the XRP Ledger amendment documentation, every 256th ledger is a flag ledger.

These typically come about 15 minutes apart.

Validators include their amendment votes in validation messages ahead of that checkpoint, and servers interpret the votes from trusted validators. The ledger then records a protocol event showing whether an amendment gained majority, lost it or became enabled.

A recorded majority starts the comparison with the two-week requirement. If the amendment stays above 80% for the required period, the network can enable it through the amendment process.

The count is evaluated around flag ledgers, so the date shown on a tracker is an estimate based on the actual majority record.

In the Dec. 1 tally, 28 of 35 would equal 80%. The threshold was 29.

A headline saying an amendment had “80%” can therefore give readers the wrong idea if it omits the difference between reaching 80% and clearing it.

If the tracker records a loss of majority before the holding period is complete, the old period no longer supports activation. When the amendment returns above the threshold, the network records the new majority and the two weeks begin again.

The dates depend on how soon operators are ready to cast enough votes after a review.

Even where two amendments have shared dependencies, each is an entry with its own vote history. For lending to have the host of functions expected by a particular customer or business, each required change would have to be active.

The dates shown in two rows could diverge if one version receives support before the other.

StageWhat the public record shows
Amendment code appears in a releaseServer operators have software that knows about the proposal
Majority is recordedThe amendment has crossed the threshold at the relevant ledger checkpoint
Majority is lost before the holding period endsThe countdown falls away until sufficient support returns
Amendment is enabledThe network applies the amended rules to subsequent transactions
A market starts using the featureIts operator has chosen to open a service under its own terms

One practical example is a validator that installs a later build after reviewing its changes but keeps its vote against an amendment during further testing. It has software that can recognize the rule while withdrawing its support for activating it.

Installation and voting answer separate operational questions.

Another is an application that has prepared its interface for an amendment. It can display an intended form or run it on a test network while the live rule is inactive.

A check against the relevant Mainnet ledger tells the team whether the network recognizes the transaction it plans to offer.

The public record uses the amendment’s identifier to distinguish the state of one release proposal from another. A display name is useful for an audience following the story.

An identifier gives an operator a way to verify that a status update refers to the same amendment it sees in its software.

XRP Ledger software can report whether it knows an amendment and whether the network has enabled it. The documentation for a server’s feature status distinguishes those responses.

An operator can therefore confirm that it has installed compatible software even if the network has not activated the proposal.

The ledger record also distinguishes evidence of majority from evidence of activation. On Dec. 1 the proposal was known to software and the loss of majority appeared in the record.

The network continued to process the transactions it already supported.

For a business using an amendment tracker, the main checkpoints are easier to read if displayed separately. One date records when the majority began.

Another represents the earliest point the requirement could be met. A recorded activation is a change in ledger status with its own time.

The December dates were in the second category.

Why validators reconsidered the vault alongside lending

XLS-65, the Single Asset Vault, would pool deposits in one asset, such as XRP or a supported token. A vault gives depositors shares representing their participation.

Vault rules determine when and how the shares can be redeemed.

XLS-66 supplies lending functions that a broker can use with capital in a vault. It supports fixed-term loans that can be made without on-chain borrower collateral.

Credit decisions remain with the broker, which would evaluate borrowers and determine the terms. First-loss capital can absorb some losses under the design.

In a simple example, a business sets up a vault with deposits in a dollar token. A separate broker assesses borrowers and wants to lend from the pool.

The vault manages where the funds sit and how depositor shares work, while the lending amendment sets out what the ledger does with a loan.

Our earlier feature follows what investors and borrowers would need to know about that broker. The December amendment delay comes earlier in the sequence.

It affects whether the ledger supports the building blocks that the broker plans to use.

The public update identified a finding in lending and said a group of validators was withdrawing support for the vault so it could be voted on with the updated lending proposal. The announcement did not identify a separate vault issue.

The timing decision treats the amendments as parts of a release that operators want to evaluate together.

LendingProtocolV1_1 is part of that decision for teams following both versions. XRP Ledger server version 3.4.0 describes a closed-ended vault option with phases for taking deposits, making loans and redeeming shares.

It says that new loan brokers would be required to use the closed-ended structure once the follow-up amendment is active.

The separate phases matter to the application using the vault. An interface that invites a deposit has to know whether the vault is accepting funds at that time.

A later attempt to redeem a share depends on the vault’s state and the terms for redemption. A project testing those features needs to know which amendment version its software is operating against.

Removing both versions from the countdown gives reviewers time to reassess how those pieces fit. Once an updated proposal is available, a vote for the vault will still be counted against the vault’s threshold and timetable.

The original lending entry and its follow-up retain their own records.

The delay has no announced duration. A code patch can be ready while review continues.

A report can be published while some validators wait to install a new build. The earliest activation estimate becomes meaningful again only once the relevant entries regain sufficient support.

The release still matters to servers with no vote

Mainnet operators need compatible software once the ledger begins using new rules. If a server lacks the code for an enabled amendment, XRP Ledger calls it amendment blocked.

The server can no longer reliably determine ledger validity, process or submit transactions, participate in consensus or vote until it has compatible software.

Blocking protects the network’s data from being interpreted under rules an older server does not understand. An operator’s choice to vote against an amendment does not exempt its server from the rule after activation.

Software compatibility determines whether the server can follow the new ledger.

A wallet provider or exchange running an API server faces a related problem even though that server does not vote. It needs to keep reading the network and submitting supported transactions on behalf of customers.

A calendar for the amendment helps it schedule testing and installation around its own change controls.

The software release notes can describe code added to support several amendments. The public vote record tells the operator which of those changes has actually become part of Mainnet.

A company preparing for one amendment is likely to pay attention to other enabled changes in the same release because all affect the software it needs to run.

Teams also have to track the network they are testing against. Devnet can have amendments enabled for demonstrations and development ahead of Mainnet.

An application that works on Devnet gives developers something to test without showing that any customer can carry out the same operation on the production ledger.

The XRP Ledger Foundation and VS1 Finance released an open source lending application on Devnet on Nov. 19. It gives teams a reference for combining the vault and lending features with functions such as credentials and permissioned access.

Their test environment and choice of features matter to how someone reads the demonstration.

An operator can compare the test code, the new release, the public amendment records and its own server version after a patch is available. Each tells it something about the scope of work.

An updated installation answers whether the server can understand the proposed rules. A live activation record answers whether customers can use them on Mainnet.

The project’s earlier vote counts also show that releases can be available for some time before support reaches a majority. Companies can prepare in that interval.

Whether an upgrade is close to activation depends on the actual vote record.

What an operator has to confirm before customers see a new feature

A business that runs its own server has a checklist separate from the engineering team’s fixes. It can confirm the version available to install, the networks it supports and whether its own applications still read the data they depend on.

The answers matter to a payments service even if it never offers a loan.

A service that relies on a provider for its network connection would have different work. It needs to know whether that provider supports the required version and whether the application will receive data for the new transaction types.

The service could also check what the provider says it will do during the transition.

For an exchange, keeping deposits and withdrawals operating is a separate concern from listing a lending product. A service can respond to the ledger upgrade by updating its server software and confirming ordinary transactions still work.

Offering a credit product involves a separate decision.

An app that intends to handle native vaults needs to test how it displays the status of a vault over time. During a deposit period it could present terms and accept eligible deposits.

During a later phase it would need to tell customers which operations are available. The state the app shows has to match the rules the live network applies.

A company can test those screens before the amendments are enabled. It can also run through internal support cases such as how staff determine whether a deposit succeeded.

The final check for customers is whether the live product is open and on which terms. A test result has limited value if the service is still labeled in development.

For a user following an upcoming launch, the bank or wallet product’s notices can say what will happen to existing services while the upgrade is installed. A protocol announcement says which change the ledger now supports.

An update from an exchange says what will happen on its own platform.

Test and production teams can continue preparing while they wait for a new activation date. The app team can continue work using a test environment.

The network operator can plan what its software needs. Neither needs to advertise a live lending service until the amendments and its own product checks are in place.

Lending projects have their own date to set

Clearpool has described an RLUSD credit market planned with Cicada Partners and Ripple that would use both the vault and lending amendments. The intended loans would provide working capital to payments and financial technology firms.

Clearpool named Hex Trust as custodian and said Cicada would be involved in finding and monitoring borrowers.

Clearpool’s plan depends on both product preparation and the ledger calendar. The builders can prepare the interfaces, legal arrangements and risk processes for the product while Mainnet is still using its existing rules.

Native vault and loan transactions need their respective changes active before that setup can use them.

If the vault were available before lending, a test of vault behavior would say little about when the lender could carry out every planned loan function on Mainnet. A team could prepare during the gap and still need to wait for the amendments covering additional steps.

When developers publish a new release, an application team has to test its own integration and any change in customer terms. A ledger can accept an operation that the company has chosen to limit to particular users.

A business can also delay its launch after activation to finish its own checks.

The distinction continues after opening. Formal verification of transaction rules and validator approval concern how those rules execute.

Decisions about whether to lend to a borrower, how to price the loan and what investors can claim if the borrower defaults depend on the arrangement and the people running it.

For the parties waiting to deploy, the most tangible records are a revised specification, a compatible release, a new dated majority and ultimately the enabled amendments. Their own product notices can specify when they will use the new functions and what customers should expect.

Clearpool’s partners also have obligations that depend on their roles. A custodian needs to specify what it safeguards.

A credit manager needs to explain how borrowers are selected and monitored. A liquidity provider needs to know the period for which funds will be available to make loans.

Someone reviewing the planned product before launch can look at those terms without assuming the next software update will put them into effect. A statement about the ledger amendment does not supply a date for the fund to begin accepting investors.

The product operator has to communicate that separately.

There is a practical difference between a team deploying its contracts in a test and a business taking funds under operating terms. The first can show that the interface and workflow are plausible.

The second requires the company to be ready for real transactions, customer support and the obligations that follow.

A scheduled date also means different things for people in the project. Engineers can set a date to freeze changes for a release.

Validators can derive a possible activation from the last majority record. A lending business can choose an opening day after verifying its own readiness.

Depending on how much work each group finishes, those dates could be separated by days or longer.

The review supplies no basis for estimating the length of that gap before updated software is available. A live date reported after a fresh majority would have a concrete starting point.

An actual market opening needs an additional announcement from the team responsible for the service.

Why a new majority matters more than a projected date

A project that wants to follow the lending timeline can start with the next report from XRP Ledger Operations or RippleX. A report would supply detail about what was reviewed and what changed.

It would give operators more information for a vote they are free to reevaluate.

The next software release containing relevant fixes would show what operators can install and what amendments it includes. A vote count could rise before all the dependencies are at the same stage.

Checking each identifier matters more than using a single headline date for the entire group.

When the ledger records a new majority, the two-week holding period supplies another piece of the calendar. Any investor or developer reading that date still has to distinguish continuing majority from completed activation.

The Dec. 1 change occurred because there was time for support to fall before the old countdowns reached their end.

Mainnet activation would answer whether a new class of protocol transactions is available on the ledger. It would leave each application operator responsible for opening and running its own product.

Validators and product teams work on different schedules.

The December vote exposed that sequence in reverse. A review supplied a reason to reconsider, operators changed their support, and the protocol recorded that the old deadlines no longer applied.

A new date will depend on the next recorded majority and how long it holds.

A fuller public record would let people following the vote compare dates against decisions. They could see when engineers published a fix, what a reviewer evaluated, which amendment identifiers regained majority and at what ledger they were enabled.

Those details tell people where the process stands without asking them to infer it from a partner’s preview.

For the next large upgrade, the operations team’s plan to move formal verification earlier gives validators another place to look for evidence. The quality of that evidence will depend on whether the report identifies the reviewed version and explains the scope of the checks before a developer asks operators to back activation.

Validators still have to make their decisions when that report is available. Dec. 1 shows an operator can change its mind before activation and that a close vote can respond immediately.

The shared ledger then provides the record on which developers and businesses can base their next schedule.

A product announcement made during a vote can still be specific about which parts are ready. A lender might be able to show a test application and describe its intended asset and borrower group.

It would need to say when customer deposits begin and which features the live network uses once the amendments are enabled.

People following the recovery of support can also compare the vault and lending records again if they regain majority at different times. Separate majorities would give the vault and lending separate earliest dates again.

A service that depends on both would plan around the later of the required activations and its own tests.

Later maintenance would follow the same general rules. If developers find another change that alters how loan transactions are processed, they would need to take the applicable protocol change through amendment voting.

An operator’s ability to install newer software ahead of voting still gives it time to test the change while waiting for the network decision.

The work of validators is easier to see during a reversal because there is a specific point at which the records change. On Dec. 1 the tracker moved from a dated majority to three proposals without one.

A future report that links engineering changes to renewed votes and a new ledger event would show how those separate decisions translated into activation.

What to watc