You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flag_overdue_milestone() only emits a MilestoneOverdue event but performs no state transition or enforcement. Overdue milestones have no on-chain consequence.
Option A — Auto-escalate: After flagging, if no submission within a grace period (e.g., 14 more days), allow anyone to call escalate_overdue_milestone() which:
Transitions milestone to Rejected
Optionally triggers campaign failure if critical milestone
Option B — Admin action required: Flag sets a flagged_overdue: true field, admin must then approve extension or reject milestone
Acceptance Criteria
Overdue milestones have an enforceable consequence
Grace period mechanism to give creators time to respond
Problem
flag_overdue_milestone()only emits aMilestoneOverdueevent but performs no state transition or enforcement. Overdue milestones have no on-chain consequence.Current Behavior
flag_overdue_milestone()checks 30-day overdue thresholdMilestoneOverdueeventExpected Behavior
Add enforcement options after flagging:
Option A — Auto-escalate: After flagging, if no submission within a grace period (e.g., 14 more days), allow anyone to call
escalate_overdue_milestone()which:RejectedOption B — Admin action required: Flag sets a
flagged_overdue: truefield, admin must then approve extension or reject milestoneAcceptance Criteria
Priority
Medium — Currently relies entirely on off-chain monitoring with no teeth.
Labels
crowdfunding,smart-contract,enhancement