We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
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
No response
The text was updated successfully, but these errors were encountered:
Virus-Axel
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: