refactor: Replace featureInvariantsV1_1 with fixCleanup3_2_0 (#7116)

This commit is contained in:
Mayukha Vadari
2026-05-12 08:26:02 -04:00
committed by GitHub
parent a761b0d43c
commit c4c95dbe76
3 changed files with 2 additions and 5 deletions

View File

@@ -467,7 +467,7 @@ AccountRootsDeletedClean::finalize(
// transaction processing results, however unlikely, only fail if the
// feature is enabled. Enabled, or not, though, a fatal-level message will
// be logged
[[maybe_unused]] bool const enforce = view.rules().enabled(featureInvariantsV1_1) ||
[[maybe_unused]] bool const enforce = view.rules().enabled(fixCleanup3_2_0) ||
view.rules().enabled(featureSingleAssetVault) ||
view.rules().enabled(featureLendingProtocol);

View File

@@ -94,7 +94,7 @@ class Invariants_test : public beast::unit_test::Suite
static FeatureBitset
defaultAmendments()
{
return xrpl::test::jtx::testableAmendments() | featureInvariantsV1_1 | fixSecurity3_1_3;
return xrpl::test::jtx::testableAmendments() | fixSecurity3_1_3 | fixCleanup3_2_0;
}
/** Run a specific test case to put the ledger into a state that will be