Skip to content

Request for review: CDP payment state after broadcast #3

Description

@prasanthkuna

Context

railguard-cdp — after CDP returns tx hash, DB/audit failures must not set status failed.

States: submitted / unknown until reconciler + receipt status === success.

Questions

  • Missing terminal states?
  • Reconciler frequency / idempotency?

Proof

bun test apps/api/payment-state.test.ts

Portfolio: https://github.com/prasanthkuna/railguard-new/blob/master/docs/PORTFOLIO.md

Ask: Can you poke holes in this state machine?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions