-
Notifications
You must be signed in to change notification settings - Fork 368
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
useCalls randomly got left out #835
Comments
Hey @JasonHe-da , does the issue still persist in the latest version of useDApp (1.0.12)? |
@yivlad it is still not working: it turns out to be one of three useCalls return undefined for all the data randomly and not even trigger calls in the usedapp dev tool, but if we use useCalls for only one chain, it works just fine |
@JasonHe-da can you show us your config? |
@JasonHe-da I have been trying to reproduce what you were talking about, but unfortunately with no luck. Can you provide minimal reproducible example or some other guidance how to reproduce the bug? (I'm assuming that in config you showed us you deleted |
Describe the bug
![Screen Shot 2022-06-21 at 16 19 27](https://user-images.githubusercontent.com/52399371/174912184-bc130a35-33bc-47c7-b308-17967377a69f.png)
![F4F4C948-C35C-4A2F-8273-193997D8886B_4_5005_c](https://user-images.githubusercontent.com/52399371/174912945-297c837b-ddda-473d-b86d-bdd4ff3fd6c8.jpeg)
![E131B338-177C-4FDB-889B-D11BD2987159](https://user-images.githubusercontent.com/52399371/174912669-bfed98c6-69ff-4194-b798-389ea8047cb0.jpeg)
![2B366623-8A3D-4C79-A615-CCBB652E8C89](https://user-images.githubusercontent.com/52399371/174912706-df8863f0-55a3-45f7-a587-7286c54bb0d9.jpeg)
Our project has a custom hooks that will go to different chain id and fetch the data to the frontend. We are using useCalls for each chainid.
The issue is sometimes, the useCalls will be left out for specific chain, and in usedapp dev tool, it shows it is not even got called:
correct numbers of call:
incorrect numbers of call:
In this case, one of three chains information is not getting called on.
those calls are never got executed(we have set refresh to 'never').
It happens randomly.
Does anyone knows why that is happening and how to fix it?
Software versions
useDapp
version: 1.0.10The text was updated successfully, but these errors were encountered: