Open Bronek opened 2 weeks ago
Attention: Patch coverage is 74.15600%
with 222 lines
in your changes missing coverage. Please review.
Project coverage is 71.3%. Comparing base (
9fec615
) to head (cf9d889
).
The choice of cmake option name voidstar
comes from the reference to libvoidstar.so
in the implementation of the Antithesis instrumentation - which is inside external/antithesis-sdk/antithesis_instrumentation.h
file. I am open to replacing it with something else, e.g. instrumentation
.
TODO: Alter the consensus threshold to 80% (only when voidstar
enabled), so we can test the system with 6 validators only.
6 validators is a good start and should yield useful results.
But just curious, how difficult would it be to later scale up the test to 35 (or more) validators?
(This would make the testing even more realistic and predict what could happen in the future if more validators are added)
High Level Overview of Change
Add Antithesis instrumentation.
Context of Change
This change brings in Antithesis SDK files into
external/antithesis-sdk
and replacesassert
macro with an equivalentXRPL_ASSERT
andassert(false)
with an equivalentXRPL_UNREACHABLE
. It is also a prerequisite for the addition of all other Antithesis instrumentation (which are related to test coverage, hence do not have an equivalent in C).The Antithesis SDK is under MIT license, and has been copied from https://github.com/antithesishq/antithesis-sdk-cpp/ commit 157fa68
Type of Change
.gitignore
, formatting, dropping support for older tooling)