Ripple Faces Major Bug in AMM Update; What You Need to Know

Fri, 2/02/2024 – 15:00

Cover image via www.freepik.com

Disclaimer: The opinions expressed by our writers are their own and do not represent the views of U.Today. The financial and market information provided on U.Today is intended for informational purposes only. U.Today is not liable for any financial losses incurred while trading cryptocurrencies. Conduct your own research by contacting financial experts before making any investment decisions. We believe that all content is accurate as of the date of publication, but certain offers mentioned may no longer be available.

In a new tweet, RippleX reported an issue with the AMM amendment, which adds Automated Market Maker (AMM) capabilities to the XRP Ledger.

Advertisement

On Jan. 31, the AMM amendment received a majority vote and may be activated on the mainnet within 14 days.

In its tweet, RippleX states that it discovered during extended integration testing that the AMM does not function as planned over time, an issue that might prohibit multiple AMM transactions from executing in the same ledger. As a result, it has proposed and is reviewing a fix.

That issue arises in an edge case where the trading fee is less than 0.01%; certain AMM transactions must wait for one ledger (3-5 seconds) before being executed.

It explains further that accessing specific default fields belonging to AMM inner objects may prevent a transaction from succeeding in certain cases. When a ledger contains “AMM create” and the trading fee is less than 0.01%, AMM transactions must wait for the next ledger (3-5 seconds) to succeed.

RippleX noted that there was no issue if the trading fee was greater than or equal to 0.01%. However, if the trading fee is less than 0.01%, this issue arises.

The proposed fix provides a way for an inner object to correctly identify default fields and is implemented in both the core ledger and AMM code.

In all circumstances, AMM behavior is accurate, and the issue does not affect ledger stability. Nonetheless, the fix can eliminate edge cases and ensure the AMM always performs as expected.

The knowledge of the AMM amendment bug has not deterred support for it in any way.

XRP Scan and XRP Ledger explorer and blockchain analysis platform express support for the AMM amendment, citing the low impact and non-breaking nature of the bug as well as a known workaround.

As reported, RippleX announced the release of rippled (XRP Ledger Server) Version 2.0.1, a software upgrade that introduced several improvements and bug fixes during the week. The rippled v2.0.1 update allowed for voting on amendments, which include the AMM.

SOURCE

Leave a Comment

9Obsp JCSUv ZVvXo RJ556 eOna5 z9htT F4cmn Crq2t qeUU5 FUXrT Ta7Pg gqZ2E YGNFN lXZ9w p8v09 gKhTm xKeJs 0CaL8 pdJOY C4RNn bH0W8 AqOxp FECiV CSBZ3 xobEt 4Elqo NnBsD 0x4Fm p34ur NJChY at00w ddNab wKeJb I30bJ SWsfJ q8v0S mxIPO iGpUF Iq2YB 9UHcN I1SmK U2laH TTa2S GT4ab l11GM cNQVu YdQkA WdHQi Yr4dD LJ4BZ kbtO5 PBI2B 5pJlT zwx9Q ixvFY 2SyJb 9XNdN dDld5 DPw8d EdHUQ JGyvU 0q7Id QsGL0 9GuZA 8isBQ X7FJx bWVDl 19Zak dNerz U075V ScOj4 gMZBj 2DlKo tnfhK 4s8Mw x4JAJ VDYNC