From 009e05a46377eecc834b900e992f5a618fad581f Mon Sep 17 00:00:00 2001 From: Vito <5780819+Tapanito@users.noreply.github.com> Date: Mon, 23 Mar 2026 16:49:03 +0100 Subject: [PATCH] restores invariant tests --- include/xrpl/tx/invariants/VaultInvariant.h | 5 ++++- src/test/app/Invariants_test.cpp | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/xrpl/tx/invariants/VaultInvariant.h b/include/xrpl/tx/invariants/VaultInvariant.h index 1c97b9c53e..f9f7648d2b 100644 --- a/include/xrpl/tx/invariants/VaultInvariant.h +++ b/include/xrpl/tx/invariants/VaultInvariant.h @@ -21,7 +21,10 @@ class ValidVault public: void - visitEntry(bool, std::shared_ptr const&, std::shared_ptr const&); + visitEntry( + bool isDelete, + std::shared_ptr const& before, + std::shared_ptr const& after); bool finalize(STTx const&, TER const, XRPAmount const, ReadView const&, beast::Journal const&); diff --git a/src/test/app/Invariants_test.cpp b/src/test/app/Invariants_test.cpp index 15e49274df..e7ff32a37a 100644 --- a/src/test/app/Invariants_test.cpp +++ b/src/test/app/Invariants_test.cpp @@ -3812,8 +3812,6 @@ public: void run() override { - testVault(); - return; testXRPNotCreated(); testAccountRootsNotRemoved(); testAccountRootsDeletedClean(); @@ -3834,6 +3832,7 @@ public: testNoModifiedUnmodifiableFields(); testValidPseudoAccounts(); testValidLoanBroker(); + testVault(); } };