In a new tweet, RippleX reported an issue with the AMM amendment, which adds Automated Market Maker (AMM) capabilities to the XRP Ledger.
In a new tweet, RippleX reported an issue with the AMM amendment, which adds Automated Market Maker (AMM) capabilities to the XRP Ledger.
On January 31, the AMM amendment received a majority vote and will be able to be activated on the mainnet within 14 days.
In his tweet, RippleX state which discovered during extended integration testing, an issue that could prohibit multiple AMM transactions from running on the same ledger. As a result, he proposed and is reviewing a solution.
That issue arises in a borderline case where the trading fee is less than 0.01%; certain AMM transactions must wait a ledger (3-5 seconds) before executing.
It further explains that accessing specific default fields that belong to internal AMM objects can prevent a transaction from succeeding in certain cases. When a ledger contains “AMM creation” and the trading fee is less than 0.01%, AMM transactions must wait for the next ledger (3 to 5 seconds) to succeed.
RippleX noted that there was no problem if the trading fee was greater than or equal to 0.01%. However, if the trading commission is less than 0.01%, this problem arises.
The proposed solution provides a way for an internal object to correctly identify default fields and is implemented in both the central ledger and AMM code.
In all circumstances, AMM’s behavior is accurate and the issue does not affect the stability of the ledger. However, the solution can eliminate edge cases and ensure that the AMM always works as expected.
Knowledge of the AMM amendment error has not deterred us from supporting it in any way.
XRPScan, XRP Ledger explorer, and blockchain analytics platform express their support for the AMM amendment, citing the low impact and unbreakable 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 update that introduced several improvements and bug fixes during the week. The rippled v2.0.1 update allowed voting on amendments, including the AMM.