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 set list of Networks through API #5967

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

Enable to set list of Networks through API #5967

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

Comments

@igor-sirotin
Copy link
Collaborator

Description

For functional tests it's required to pass networks list with specific anvil URL.
With statusd it was done providing a node config directly, but with status-backend we should do this through some API.

Implementation

I found this:

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

Which I believe is ok to be used with status-backend. But there's an issue that on the next Login these networks are overwritten with defaults:
#5597 (comment) I tried to workaround this by passing same Networks to LoginAccount, but it didn't work out.

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

No branches or pull requests

1 participant