-
-
Notifications
You must be signed in to change notification settings - Fork 838
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
waitForTransactionReceipt
timeout exception after confirmed
#2650
Comments
Hello @vimtor. Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository. Minimal reproductions are required as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster. Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue. |
Are you using a public RPC URL or a paid service? Public RPCs tend to not be as high-availability/responsive. |
We are using a private RPC, wouldn't it give a different error instead? |
Viem’s Client is only as smart as the RPC Provider that you pass to it (via Have you tried using an alternate RPC Provider? |
This issue has been locked since it has been closed for more than 14 days. If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Viem version. If you have any questions or comments you can create a new discussion thread. |
Check existing issues
Viem Version
2.13.1
Current Behavior
Sometimes, when calling
waitForTransactionReceipt
with a timeout, the call times out, but when you check the transaction hash on an explorer, you can see that the transaction was confirmed within the timeout period.We are experiecing this on Taiko's chain. Here are our server logs:
And here is the transaction on the explorer:
As you can see, the transaction was confirmed in a minute, but the client wasn't able to find it after 5 minutes.
Expected Behavior
waitForTransactionReceipt
should only throw if the transaction is not confirmed within the timeout period.Steps To Reproduce
I can't provide an exact reproduction since I don't know the origin of the issue.
Link to Minimal Reproducible Example
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: