From cc05e407c227261a055b9302286cccf2726ecdb3 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Mon, 1 Dec 2025 17:53:23 -0500 Subject: [PATCH] Force small mantissas in testAMM() --- src/test/jtx/impl/AMMTest.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/test/jtx/impl/AMMTest.cpp b/src/test/jtx/impl/AMMTest.cpp index 3bdc8e041a..9e8c19012e 100644 --- a/src/test/jtx/impl/AMMTest.cpp +++ b/src/test/jtx/impl/AMMTest.cpp @@ -105,9 +105,15 @@ AMMTestBase::testAMM( for (auto const& features : arg.features) { + // Use small Number mantissas for the life of this test. + NumberMantissaScaleGuard const sg{ripple::MantissaRange::small}; + + // For now, just disable SAV entirely, which locks in the small Number + // mantissas Env env{ *this, - features, + features - featureSingleAssetVault /* - featureLendingProtocol */ + , arg.noLog ? std::make_unique(&logs) : nullptr}; auto const [asset1, asset2] =