mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +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:
@@ -68,8 +68,9 @@ STVector256::isDefault() const
|
||||
void
|
||||
STVector256::add(Serializer& s) const
|
||||
{
|
||||
ASSERT(getFName().isBinary(), "ripple::STVector256::add : field is binary");
|
||||
ASSERT(
|
||||
XRPL_ASSERT(
|
||||
getFName().isBinary(), "ripple::STVector256::add : field is binary");
|
||||
XRPL_ASSERT(
|
||||
getFName().fieldType == STI_VECTOR256,
|
||||
"ripple::STVector256::add : valid field type");
|
||||
s.addVL(mValue.begin(), mValue.end(), mValue.size() * (256 / 8));
|
||||
|
||||
Reference in New Issue
Block a user