Merge remote-tracking branch 'XRPLF/develop' into ximinez/lending-refactoring-1

* XRPLF/develop:
  chore: Update clang-format and prettier with pre-commit (5709)
  fix(test): handle null metadata for unvalidated tx in Env::meta (5715)
  chore: Workaround for CI build errors on arm64 (5717)
  chore: Fix file formatting (5718)
  fix: Skip notify-clio when running in a fork, reorder config fields (5712)
  chore: Reverts formatting changes to external files, adds formatting changes to proto files (5711)
This commit is contained in:
Ed Hennis
2025-08-22 19:07:28 -04:00
57 changed files with 5354 additions and 5479 deletions

View File

@@ -1499,4 +1499,4 @@ class Delegate_test : public beast::unit_test::suite
};
BEAST_DEFINE_TESTSUITE(Delegate, app, ripple);
} // namespace test
} // namespace ripple
} // namespace ripple

View File

@@ -621,4 +621,4 @@ public:
BEAST_DEFINE_TESTSUITE_PRIO(NFTokenAuth, app, ripple, 2);
} // namespace ripple
} // namespace ripple

View File

@@ -720,4 +720,4 @@ struct JumpCollector
} // namespace test
} // namespace ripple
#endif
#endif

View File

@@ -59,4 +59,4 @@ public:
} // namespace delegate
} // namespace jtx
} // namespace test
} // namespace ripple
} // namespace ripple

View File

@@ -507,7 +507,16 @@ Env::meta()
close();
}
auto const item = closed()->txRead(txid_);
return item.second;
auto const result = item.second;
if (result == nullptr)
{
test.log << "Env::meta: no metadata for txid: " << txid_ << std::endl;
test.log << "This is probably because the transaction failed with a "
"non-tec error."
<< std::endl;
Throw<std::runtime_error>("Env::meta: no metadata for txid");
}
return result;
}
std::shared_ptr<STTx const>

View File

@@ -64,4 +64,4 @@ entry(jtx::Env& env, jtx::Account const& account, jtx::Account const& authorize)
} // namespace delegate
} // namespace jtx
} // namespace test
} // namespace ripple
} // namespace ripple

View File

@@ -159,4 +159,4 @@ DelegateSet::deleteDelegate(
return tesSUCCESS;
}
} // namespace ripple
} // namespace ripple

View File

@@ -53,4 +53,4 @@ public:
} // namespace ripple
#endif
#endif