HomeNewsXRPL's AMM Plans Foiled: XLS-30D Amendment Delayed Due to Critical Code Snag

XRPL’s AMM Plans Foiled: XLS-30D Amendment Delayed Due to Critical Code Snag

- Advertisement -
  • Launch of XLS-30D amendment introducing AMM on XRPL delayed due to critical bug, causing validators to withdraw support.
  • RippleX proposes fix for AMM code bug, aiming to ensure stability and correct transaction execution.

The highly-anticipated XLS-30D amendment, which was set to revolutionize the XRP Ledger (XRPL) with the introduction of an Automated Market Maker (AMM), has hit a snag. Scheduled for launch on February 14, the amendment’s deployment has been indefinitely postponed. This development comes as a result of a critical bug discovered in the AMM code, leading to a significant number of validators revoking their support.

Critical Bug Identified in AMM Code

The bug was unearthed by RippleX, the development arm of Ripple, during a period of extended testing. It presents a potential stumbling block for the execution of multiple AMM transactions within the same ledger. Specifically, the glitch impacts an edge case scenario where the trading fee is set below the all-important 0.01% threshold.

In such instances, a cluster of transactions on the AMM could cause some transactions to temporarily halt for one ledger cycle, leading to a delay of three to five seconds before execution.

This hiccup in transaction processing, while seemingly minor, has raised considerable concerns among the XRPL community. RippleX has been quick to propose a solution, which is currently under review.

The proposed fix aims to address the issue by ensuring the correct identification of default fields within AMM inner objects, thereby reinforcing stability across both the core ledger and AMM code.

Validator Response and Withdrawal

Despite the relative insignificance of the bug’s impact, the reaction from XRPL validators has been swift and decisive. The amendment had initially achieved the required validator consensus on February 1, with a set implementation date of February 14. However, the discovery of the bug has led to a notable shift in stance among validators, with many withdrawing their “yes” votes.

Vet, a prominent XRPL validator, has voiced concerns over the potential negative impact that launching a feature with a known bug could have on the XRPL’s reputation. Drawing parallels with the XLS-20D amendment, Vet highlighted the paramount importance of a flawless launch for such critical features, advocating for the bug to be fixed before the AMM’s implementation.

Echoing Vet’s sentiments, xSpectar, another key validator, underscored the critical nature of the feature and the imperative to address known issues before its activation.

The official xSpectar account went further, emphasizing that it is the responsibility of validators to avoid setting a dangerous precedent by allowing amendments with known flaws to pass.

Daniel, CTO at Eminence and operator of the Eminence validator, has taken a principled stand by withdrawing his support for the proposed AMM amendment.

Citing concerns over compromising the integrity of best practices, Daniel stressed the importance of prioritizing stability and functionality, even at the cost of delaying the feature. He proposed deprecating the current AMM in favor of introducing AMMv2, which would incorporate necessary fixes.

As a result of these developments, the consensus among validators has dipped to 71.43%, falling short of the required 80%. Consequently, the amendment will not pass as scheduled. Nonetheless, it’s worth noting that most validators, including industry heavyweights like Ripple, Bithomp, XRPScan, Alloy Networks, Bitrue, and 20 others, have maintained their support.

At the time of writing, the price of XRP has risen 2.29% in the last 24 hours, reaching a price of $0.5126. This represents an increase of 4.04% over the past 7 days.

Disclaimer: ETHNews does not endorse and is not responsible for or liable for any content, accuracy, quality, advertising, products, or other materials on this page. Readers should do their own research before taking any actions related to cryptocurrencies. ETHNews is not responsible, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with the use of or reliance on any content, goods, or services mentioned.
Syofri is an active forex and crypto trader who has been diligently writing the latest news related to the digital asset sector for the past six years. He enjoys maintaining a balance between investing, playing music, and observing how the world evolves. Business Email: info@ethnews.com Phone: +49 160 92211628