We offer two types of test vectors:
- Tiny: These are designed for quick adjustments and prototyping, with reduced validators (6) and a shorter epoch duration (12).
- Full: These vectors use production validators count (1023) and epoch duration (600).
Both JSON and SCALE formats conform to the JAM ASN.1 schema and this subsystem STF specific schema.
Technically, the STF execution process does not inherently produce auxiliary outputs beyond the success or failure result. In this context, we propose an extension to include additional information that may be beneficial for implementors or useful for executing other subsystems reliant on values generated post-STF execution.
When the error or success values are not pertinent to your test vector processing procedures, you may disregard them as necessary.
A mapping of error code semantics is provided within the ASN.1 schema for this subsystem.
Most tests use null entries for state availability assignments (rho). The state rho items are only populated, with dummy values, for the specific tests that verify the invalidation of assignments following a verdict.
-
- No verdicts, nothing special happens
-
- Not sorted work reports within a verdict
-
- Not unique votes within a verdict
-
- Not sorted, valid verdicts
-
- Sorted, valid verdicts
-
- Not homogeneous judgements, but positive votes count is not correct
-
- Not homogeneous judgements, results in wonky verdict
-
- Missing culprits for bad verdict
-
- Single culprit for bad verdict
-
- Two culprits for bad verdict, not sorted
-
- Two culprits for bad verdict, sorted
-
- Report an already recorded verdict, with culprits
-
- Culprit offender already in the offenders list
-
- Offender relative to a not present verdict
-
- Missing faults for good verdict
-
- One fault offender for good verdict
-
- Two fault offenders for a good verdict, not sorted
-
- Two fault offenders for a good verdict, sorted
-
- Report an already recorded verdict, with faults
-
- Fault offender already in the offenders list
-
- Auditor marked as offender, but vote matches the verdict.
-
progress_invalidates_avail_assignments-1 🟢
- Invalidation of availability assignments
-
progress_with_bad_signatures-1 🔴
- Bad signature within the verdict judgements
-
progress_with_bad_signatures-2 🔴
- Bad signature within the culprits sequence
-
progress_with_verdict_signatures_from_previous_set-1 🟢
- Use previous epoch validators set for verdict signatures verification
-
progress_with_verdict_signatures_from_previous_set-2 🔴
- Age too old for verdicts judgements
Currently, the same test cases as tiny vectors but at a larger scale.