mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-05 16:57:56 +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:
@@ -176,7 +176,7 @@ STValidation::STValidation(
|
||||
Throw<std::runtime_error>("Invalid signature in validation");
|
||||
}
|
||||
|
||||
ASSERT(
|
||||
XRPL_ASSERT(
|
||||
nodeID_.isNonZero(),
|
||||
"ripple::STValidation::STValidation(SerialIter) : nonzero node");
|
||||
}
|
||||
@@ -201,7 +201,7 @@ STValidation::STValidation(
|
||||
, nodeID_(nodeID)
|
||||
, seenTime_(signTime)
|
||||
{
|
||||
ASSERT(
|
||||
XRPL_ASSERT(
|
||||
nodeID_.isNonZero(),
|
||||
"ripple::STValidation::STValidation(PublicKey, SecretKey) : nonzero "
|
||||
"node");
|
||||
|
||||
Reference in New Issue
Block a user