Description: Capture a set of real, interesting historical testnet transactions (found via the deployment manifests in deployments/ or testnet exploration) and replay them as deterministic regression tests against the current contract code.
Context: Real-world usage patterns (even on testnet) often exercise sequences and edge cases that synthetic tests don't think to construct; replaying real history is a complementary source of test coverage grounded in actual usage rather than hypothetical scenarios.
Scope & Acceptance Criteria: At least 10 captured historical transaction sequences replayed as tests, each asserting the current code produces the same (or an intentionally, documented-as-improved) outcome as the original testnet execution. Out of scope: mainnet transaction replay (no mainnet history exists yet).
Implementation: Key files: new contracts/tests/historical_replay/. Edge cases: a replayed sequence that now behaves differently due to an intentional bug fix since then — document the expected divergence explicitly rather than treating it as a failure. Testing: this issue's deliverable is the replay suite itself.
Complexity: High (200 points)
Program: Drips "Stellar Wave"
Description: Capture a set of real, interesting historical testnet transactions (found via the deployment manifests in
deployments/or testnet exploration) and replay them as deterministic regression tests against the current contract code.Context: Real-world usage patterns (even on testnet) often exercise sequences and edge cases that synthetic tests don't think to construct; replaying real history is a complementary source of test coverage grounded in actual usage rather than hypothetical scenarios.
Scope & Acceptance Criteria: At least 10 captured historical transaction sequences replayed as tests, each asserting the current code produces the same (or an intentionally, documented-as-improved) outcome as the original testnet execution. Out of scope: mainnet transaction replay (no mainnet history exists yet).
Implementation: Key files: new
contracts/tests/historical_replay/. Edge cases: a replayed sequence that now behaves differently due to an intentional bug fix since then — document the expected divergence explicitly rather than treating it as a failure. Testing: this issue's deliverable is the replay suite itself.Complexity: High (200 points)
Program: Drips "Stellar Wave"