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

[network-controller] Allow switching active chain without waiting for lookup #4930

Open
Gudahtt opened this issue Nov 14, 2024 · 0 comments
Open

Comments

@Gudahtt
Copy link
Member

Gudahtt commented Nov 14, 2024

When setActiveChain is called, the function does not resolve until the network lookup has completed. In some cases we just want tomorrow know when the NetworkController state was updated, and waiting for lookup is not desired.

We should allow the caller to not wait on lookup when switching the active chain (maybe by splitting this into two methods, or adding an option to control whether we wait).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant