ProblemUnit/snapshot tests cover individual contracts but no integration test runs both contracts deployed together through register-merchant → store-payment → fee-resolution → recovery.
- No cross-contract integration suite.
- Governance↔settlement contract drift escapes.
- Deployment scripts unverified end-to-end.
Solution
- Add a workspace integration test deploying both contracts.
- Exercise the full lifecycle.
- Wire into CI.
Acceptance Criteria
- Cross-contract lifecycle test passes.
- CI runs it.
cargo test --workspace passes.
Note for Contributors: Write a clear PR description. Show the lifecycle test output.
ProblemUnit/snapshot tests cover individual contracts but no integration test runs both contracts deployed together through register-merchant → store-payment → fee-resolution → recovery.
Solution
Acceptance Criteria
cargo test --workspacepasses.Note for Contributors: Write a clear PR description. Show the lifecycle test output.