Skip to content

[High] Implement a Cross-Contract Test Harness for Multi-Admin/Multi-Verifier Scenarios #684

Description

@levi0005

Description: Build reusable test-harness helpers for simulating realistic multi-actor scenarios (several verifiers with differing scores, several signers with partial availability, several SMEs with concurrent invoices) so future tests (including several proposed elsewhere in this list, e.g. F118, B52) don't each reimplement this setup from scratch.
Context: Current test setup helpers (per the contracts/tests/src/lib.rs shared test crate) appear scoped to single-actor scenarios; multi-actor realism is a recurring need across many of the issues in this list and deserves a shared, well-designed harness rather than N duplicated ad hoc versions.
Scope & Acceptance Criteria: Reusable builder-style helpers for constructing multi-verifier, multi-signer, multi-SME test fixtures; at least two other tests in this list's scope (e.g. F118, B52) actually migrated to use it as proof of value. Out of scope: rewriting every existing test to use the new harness — new/relevant tests only.
Implementation: Key files: contracts/tests/src/lib.rs. Edge cases: harness flexibility vs. complexity tradeoff — keep the API simple enough that it's actually faster to use than writing setup by hand. Testing: this issue's own deliverable is tested by the two migrated consumer tests using it correctly.


Complexity: High (200 points)
Program: Drips "Stellar Wave"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions