Force small mantissas in testAMM()

This commit is contained in:
Ed Hennis
2025-12-01 17:53:23 -05:00
parent aaaf43237c
commit cc05e407c2

View File

@@ -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<CaptureLogs>(&logs) : nullptr};
auto const [asset1, asset2] =