You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
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?
@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 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 readOnlyUrls and mutlicallAddresses)
Activity
yivlad commentedon Jun 22, 2022
Hey @JasonHe-da , does the issue still persist in the latest version of useDApp (1.0.12)?
JasonHe-da commentedon Jun 22, 2022
@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
mj426382 commentedon Jun 23, 2022
@JasonHe-da can you show us your config?
JasonHe-da commentedon Jun 23, 2022
@mj426382 @yivlad

yivlad commentedon Jun 24, 2022
@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
readOnlyUrlsandmutlicallAddresses)