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

bug: waitForTransactionReceipt hangs indefinitely when a bogus nonce is set in metamask #2258

Closed
1 task done
pedromcunha opened this issue May 15, 2024 · 0 comments
Closed
1 task done

Comments

@pedromcunha
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package Version

2.7.3

Current Behavior

If using waitForTransactionReceipt the function will hang forever if awaited.

Expected Behavior

It should throw an error or return a bad receipt

Steps To Reproduce

  • Trigger a transaction and wait for the receipt (can use https://explorer.reservoir.tools/ethereum for this)
  • In metamask adjust the nonce to a bogus number)
  • Metamask will report that the transaction has failed but the waitForTransactionReceipt continues to hang indefinitely.

Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)

No response

Anything else?

No response

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

1 participant