Description
Recover events left SUBMITTED (process died between submit and receipt). Reconcile by stored txHash if present, else by scanning ProofAnchored logs keyed by the eventId hash (sha256(eventUid)); converge to ANCHORED or re-queue.
Affected areas
backend/src/services/onchain.service.ts, the cron worker.
Dependencies / order
Depends on #8.
Acceptance criteria
Definition of done
Description
Recover events left
SUBMITTED(process died between submit and receipt). Reconcile by storedtxHashif present, else by scanningProofAnchoredlogs keyed by theeventIdhash (sha256(eventUid)); converge toANCHOREDor re-queue.Affected areas
backend/src/services/onchain.service.ts, the cron worker.Dependencies / order
Depends on #8.
Acceptance criteria
SUBMITTEDwhose tx actually landed is reconciled toANCHOREDwithout re-submitting.SUBMITTEDwith no landed tx is re-queued toPENDING/FAILED_RETRYABLE.Definition of done
staging(nevermain).stagingpreview stack.