mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 00:50:45 +00:00
Force small mantissas in testAMM()
This commit is contained in:
@@ -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] =
|
||||
|
||||
Reference in New Issue
Block a user