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

Enable to override list of networks for account #6010

Open
igor-sirotin opened this issue Oct 29, 2024 · 0 comments
Open

Enable to override list of networks for account #6010

igor-sirotin opened this issue Oct 29, 2024 · 0 comments

Comments

@igor-sirotin
Copy link
Collaborator

Functional tests require to set custom networks for an account.
There's a workaround available with requests.CreateAccountAndLogin:

TestOverrideNetworks []params.Network `json:"networksOverride"` // This is used for testing purposes only

  1. This doesn't work with LoginAccount.
    On the next sign in, networks are reset to defaults due to Fix loadNodeConfig loses DB data #5597

  2. This looks like a workaround rather than a proper way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant