Merge remote-tracking branch 'upstream/develop' into sponsor

This commit is contained in:
tequ
2026-03-17 17:22:54 +09:00
444 changed files with 14410 additions and 10912 deletions

View File

@@ -3512,12 +3512,13 @@ class Invariants_test : public beast::unit_test::suite
precloseXrp);
doInvariantCheck(
{"withdrawal must change vault and destination balance by "
"equal amount",
"withdrawal must decrease vault balance",
"withdrawal must increase destination balance",
"withdrawal and assets outstanding must add up",
"withdrawal and assets available must add up"},
{
"withdrawal must change vault and destination balance by equal amount",
"withdrawal must decrease vault balance",
"withdrawal must increase destination balance",
"withdrawal and assets outstanding must add up",
"withdrawal and assets available must add up",
},
[&](Account const& A1, Account const& A2, ApplyContext& ac) {
auto const keylet = keylet::vault(A1.id(), ac.view().seq());