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

Node connection established when canceling the Chain identifier mismatch dialog #5

Closed
vilkris4 opened this issue May 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@vilkris4
Copy link

vilkris4 commented May 7, 2023

Describe the bug
When connecting to a node that has a different chain ID than the one that is set for Syrius, a Chain identifier mismatch dialog is shown prompting the user to either Cancel or Proceed anyway. When pressing Cancel the connection to the new node is still established. The Node Management list then shows that Syrius is still connected to the previously selected node when it's not.

To Reproduce
Precondition 1: you need access to two different nodes that are not the Embedded Node.

  1. Navigate to Settings > Node Management
  2. Make sure you're connected to a node that is not the Embedded Node
  3. Open Client chain identifier selection and set the identifier to a random number, like 999 for example.
  4. In Node selection connect to another node that is not the Embedded Node
  5. You should see the Chain identifier mismatch popup. Press Cancel.

Expected behavior
The connection to the node is not established.

Actual behavior
The connection to the node is established. On the UI this can be seen by the momentum height card updating.

Desktop

  • Syrius version: v0.0.6
  • OS: any
  • Commit hash: c996cc4
@vilkris4 vilkris4 added the bug Something isn't working label May 7, 2023
@vilkris4 vilkris4 changed the title Node connection established even when canceling the Chain identifier mismatch dialog Node connection established when canceling the Chain identifier mismatch dialog May 7, 2023
@sol-znn
Copy link
Member

sol-znn commented May 7, 2023

Additional info: the client switches to the target node but doesn't save the selection to hive.
Upon restarting Syrius, the wallet returns to the previous node.

@KingGorrin
Copy link

This issue was migrated to zenon-network#81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants