-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
JsonRpcProvider
pollingInterval
option is not used in tx.wait()
#4644
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
v6
Issues regarding v6
Comments
PierreJeanjacquot
added
investigate
Under investigation and may be a bug.
v6
Issues regarding v6
labels
Mar 12, 2024
As a temporary fix, you can set the provider.pollingInterval = 1000; |
ricmoo
added
bug
Verified to be an issue.
on-deck
This Enhancement or Bug is currently being worked on.
next-patch
Issues scheduled for the next arch release.
and removed
investigate
Under investigation and may be a bug.
labels
Apr 30, 2024
This does appear to be a bug. I'll get a fix out in the next patch. |
ricmoo
added a commit
that referenced
this issue
May 1, 2024
Fixed in v6.12.1. Thanks! :) |
ricmoo
added
fixed/complete
This Bug is fixed or Enhancement is complete and published.
and removed
on-deck
This Enhancement or Bug is currently being worked on.
next-patch
Issues scheduled for the next arch release.
labels
May 1, 2024
This was referenced Jun 20, 2024
This was referenced Sep 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
v6
Issues regarding v6
Ethers Version
[email protected]
Search Terms
JsonRpcProvider, pollingInterval
Describe the Problem
The
pollingInterval
option ofJsonRpcProvider
is not used for transactionwait()
, instead a default 4000 ms value is used.It may be linked to the
pollingInterval
value being hardcoded in the constructor.ethers.js/src.ts/providers/provider-jsonrpc.ts
Line 1165 in ad5f1c5
this fix in
provider-jsonrpc.ts
seems to do the trick but I did not check the other impacts:Also I'm not sure why
4000
is hardcoded as the value is available indefaultOptions.pollingInterval
Code Snippet
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: