mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Antithesis instrumentation improvements (#5213)
* Rename ASSERT to XRPL_ASSERT * Upgrade to Anthithesis SDK 0.4.4, and use new 0.4.4 features * automatic cast to bool, like assert * Add instrumentation workflow to verify build with instrumentation enabled
This commit is contained in:
@@ -245,7 +245,8 @@ page(uint256 const& root, std::uint64_t index = 0) noexcept;
|
||||
inline Keylet
|
||||
page(Keylet const& root, std::uint64_t index = 0) noexcept
|
||||
{
|
||||
ASSERT(root.type == ltDIR_NODE, "ripple::keylet::page : valid root type");
|
||||
XRPL_ASSERT(
|
||||
root.type == ltDIR_NODE, "ripple::keylet::page : valid root type");
|
||||
return page(root.key, index);
|
||||
}
|
||||
/** @} */
|
||||
|
||||
Reference in New Issue
Block a user