Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Timeout needed on transaction confirmation #295

Open
ZenRepublic opened this issue Oct 13, 2024 · 0 comments
Open

Issue: Timeout needed on transaction confirmation #295

ZenRepublic opened this issue Oct 13, 2024 · 0 comments
Assignees
Milestone

Comments

@ZenRepublic
Copy link

Description

Currently, we await transaction confirmation like this:

match tx_commitment: Commitment.PROCESSED: await tx.processed Commitment.CONFIRMED: await tx.confirmed Commitment.FINALIZED: await tx.finalized

Considering Solana sometime is congested, a transaction may not go through. If that happens, the whole game freezes up awaiting the transaction.

Suggested Improvements

Each of these options should return a confirmation:

submitted
processed
confirmed
finalized
failed

failed is returned if a timeout is reached so that the user can try again

Extra Information

No response

@Virus-Axel Virus-Axel added this to the v2.0.0 milestone Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants