-
Notifications
You must be signed in to change notification settings - Fork 928
web3.js confirmTransaction()
must check the current status of a signature before subscribing for updates or throwing expiry errors
#1107
Comments
confirmTransaction()
must check the _current_ status of a signature before subscribing for updates or throwing expiry errorsconfirmTransaction()
must check the current status of a signature before subscribing for updates or throwing expiry errors
I can confirm i experience this issue s well |
has this been resolved or signature confirmation is only as reliable as the websocket's reliability? |
Soon, @Fahad-pnw! I'm working up to a deadline this week, but after that I'll be back to fix things like this. |
Can confirm this issue happens also to me. TransactionExpiredBlockheightExceededError: Signature XYZ has expired: block height exceeded. |
@steveluscher was there an update to this? |
I still want to do this @Fahad-pnw. I don't think I'm going to get much done on web3.js at all until the Solana conference in Lisbon is over. :/ |
Hi added pr for that issue solana-labs/solana#28290 |
Hi, I've been having this issue when calling 'createMint()' from spl-token. Sometimes it will return and sometimes I receive 'TransactionExpiredBlockheightExceededError: Signature XYZ has expired: block height exceeded'. I see ya'll are working on it, but I just wanted to notify. |
Any update on this one? |
solana-labs/solana#28290 is basically ready to ship. Things I want to do before shipping it:
|
thank you for working on this but has this been resolved yet? |
I believe so! We shipped #28290. |
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up. |
Problem
If you call
confirmTransaction
for a signature that has already been processed, thesignatureSubscribe
subscription will never fire a notification. This will certainly mean thatconfirmTransaction()
will throw an expiry error for a transaction that is, in actual fact, confirmed.First reported here: https://twitter.com/CryptoLothar/status/1536530448976863232
Proposed Solution
getSignatureStatuses
method.The text was updated successfully, but these errors were encountered: