-
Notifications
You must be signed in to change notification settings - Fork 242
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
refactor_: set default node config values for frontend when doing local pair sync #5080
Conversation
Jenkins BuildsClick to see older builds (9)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this Frank.
f4f986d
to
5532ec5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great fix. Thank you very much Frank 💪
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I totally forgot that we also pass nodeConfig
from client in local pairing.
Maybe instead of this quick fix it's better to remove nodeConfig
parameter from local pairing API and take the default config from status-go?
There's intention to remove direct using of nodeConfig
by client apps.
This is already done for create/restore accounts on mobile. Desktop is on the way: status-im/status-desktop#14139
I planned to merge this small PR first, and do another one to remove @igor-sirotin |
5532ec5
to
72c7bdd
Compare
Because mobile won't pass NetworkID/UpstreamConfig/Datadir anymore when doing local pair sync, backend will set the default value instead.