Skip to content

SSW (Solana Smart Wallets): Wait for transaction to complete #21

@jmderby

Description

@jmderby

During deployment with Solana Smart Wallets, we currently don't wait for transactions to fully complete before marking the deployment state as done. This can lead to misleading status indicators and potential race conditions.

Proposed solution:

  • Add a wait loop after submitting transaction approvals in the submitTransactionApproval function
  • Poll the transaction status until it reaches a terminal state (confirmed/finalized or failed)
  • Use exponential backoff for efficiency sake
  • Only then update the deployment state

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions