📋 Description
resolve_dispute in dispute.rs can move escrowed funds toward a party. The protocol has require_not_paused (pause.rs) and require_write_allowed (maintenance.rs) gates, but there is no focused regression asserting dispute resolution respects both.
Why this matters: pause and maintenance exist to freeze fund movement during incidents. If dispute resolution slips past those gates, an operator's emergency freeze is incomplete. This locks the gate coverage for the dispute path specifically.
🎯 Requirements & Context
Context & constraints
🛠️ Suggested Execution
git checkout -b test/dispute-pause-maintenance
cargo test -p quicklendx-contracts test_dispute_pause_maintenance -- --nocapture
cargo clippy -p quicklendx-contracts --all-targets -- -D warnings
- Edge cases: paused AND maintenance both on; resolve succeeds after both cleared; reads unaffected.
Example commit message
test(disputes): assert resolve_dispute honors pause and maintenance gates
Locks that dispute fund movement is frozen during pause/maintenance while
reads stay available.
✅ Acceptance Criteria & Guidelines
| Requirement |
Target |
| Pause + maintenance both asserted |
Required |
| Reads remain available |
Required |
| Coverage of gated path |
≥ 95% |
cargo clippy clean |
Required |
| Timeframe |
96 hours from assignment |
💬 Community & Support
Join Discord: https://discord.gg/VpngvTjWa — comment to claim. 🚀
📋 Description
resolve_disputeindispute.rscan move escrowed funds toward a party. The protocol hasrequire_not_paused(pause.rs) andrequire_write_allowed(maintenance.rs) gates, but there is no focused regression asserting dispute resolution respects both.🎯 Requirements & Context
quicklendx-contracts/src/test_dispute_pause_maintenance.rs.resolve_disputerejects with the pause error; unpause and assert success.set_maintenance_mode.get_dispute_detailsremain callable while paused (consistent with read-only access policy).Context & constraints
test_dispute.rs.🛠️ Suggested Execution
git checkout -b test/dispute-pause-maintenance cargo test -p quicklendx-contracts test_dispute_pause_maintenance -- --nocapture cargo clippy -p quicklendx-contracts --all-targets -- -D warningsExample commit message
✅ Acceptance Criteria & Guidelines
cargo clippyclean💬 Community & Support
Join Discord: https://discord.gg/VpngvTjWa — comment to claim. 🚀