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
{{ message }}
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
The expected behavior is that the process finishes right after instantiating ProviderBridge, but it never does.
This could be fixed by adding some method to clear that interval, but IMO that would cripple ProviderBridge's API, as it won't be usable in a fire-and-forget scenario.
But I don't see a clear need for having that interval, can't the address be updated right after setting the signer here.
There's also this functionality, which may return an outdated address if the proposed change is implemented, but that's already happening.
The text was updated successfully, but these errors were encountered:
ProvideBridge
's constructor sets up an interval here that is impossible to stop and doesn't let node processes finish.Running this script in node is enough to reproduce the problem:
The expected behavior is that the process finishes right after instantiating
ProviderBridge
, but it never does.This could be fixed by adding some method to clear that interval, but IMO that would cripple
ProviderBridge
's API, as it won't be usable in a fire-and-forget scenario.But I don't see a clear need for having that interval, can't the address be updated right after setting the signer here.
There's also this functionality, which may return an outdated address if the proposed change is implemented, but that's already happening.
The text was updated successfully, but these errors were encountered: