Skip to content

Graceful tx fail #2609

@tupui

Description

@tupui

What problem does your feature solve?

If for some reason sending a tx fails, we need to resubmit it. It might involves recrafting and resigning a tx which can be problematic. E.g. using a Ledger.

What would you like to see?

I would like to get a better error message and at least get the failed XDR. We could even propose the command to run and retry to send the tx.

What alternatives are there?

  • Retry as usual. Implies a high churn on users if they use a secret store.
  • Add a specific retry command for the last TX.
  • Store XDRs in a tmp file and have a command to fetch and present this log. (I actually like this and good for auditability if the CLI is used in a compliant environment.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog (Not Ready)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions