wevm / wagmi

React Hooks for Ethereum
https://wagmi.sh
MIT License
5.79k stars 968 forks source link

useWaitForTransactionReceipt status stucks in isConfirming #4055

Closed RojhatToptamus closed 3 weeks ago

RojhatToptamus commented 3 weeks ago

Check existing issues

Describe the bug

useWaitForTransactionReceipt status gets stuck in isConfirming and only transitions to isConfirmed several minutes after the transaction is confirmed. Using transport with a custom RPC in config did not help as well.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/stackblitz-starters-x5ehb4?file=app%2Fpage.tsx

Steps To Reproduce

Complete the form and submit the TX.

What Wagmi package(s) are you using?

wagmi

Wagmi Version

2.8.0, 2.10.0

Viem Version

2.14.0

TypeScript Version

5.4.5

Anything else?

No response

tmm commented 3 weeks ago

Unfortunately, Sepolia's public RPC is pretty brittle with load balancing. If you try use a paid RPC URL (or at least one that is higher performance) it should work.

github-actions[bot] commented 1 week ago

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 Wagmi version. If you have any questions or comments you can create a new discussion thread.