Independence Note: Build local state tracking arrays in tests.
Context:
Once a bounty is submitted, the admin should have a fixed window (e.g., 7 days) to review it. If they don't respond, the funds should potentially go into a dispute or be returned.
Objective:
Establish a state for tracking the review time window.
Acceptance Criteria:
Technical Pointers:
- Time in smart contracts is often measured in blocks (ledger sequences) for more deterministic behavior.
Independence Note: Build local state tracking arrays in tests.
Context:
Once a bounty is submitted, the admin should have a fixed window (e.g., 7 days) to review it. If they don't respond, the funds should potentially go into a dispute or be returned.
Objective:
Establish a state for tracking the review time window.
Acceptance Criteria:
is_review_window_over(submission_id)which checks if the difference between current and recorded sequence exceeds an arbitrary limit.Technical Pointers: