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 Halted When Running Nodes with Different Versions #665

Open
kmlbgn opened this issue May 16, 2024 · 1 comment
Open

Network Halted When Running Nodes with Different Versions #665

kmlbgn opened this issue May 16, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Priority: Critical

Comments

@kmlbgn
Copy link
Collaborator

kmlbgn commented May 16, 2024

Description

The KIRA Network halts when nodes are run with different versions (Genesis validator with sekaid v0.3.45 and other nodes with sekaid v0.3.44).

Steps to Reproduce

  1. Run Genesis validator with sekaid v0.3.45.
  2. Run other nodes with sekaid v0.3.44.
  3. Assign a role to one of the validators.
  4. Join the set with one of the validators.

Expected Behavior

A validator with a different version should panic or fail immediately after getting the genesis.json.

Actual Behavior

  1. For validators: Consensus failed.
  2. For genesis: The network stopped as it's not possible to get a quorum.

Logs from the halt event:

May 14 13:33:47 devnet sekaid[2471]: 1:33PM INF No addresses to dial. Falling back to seeds module=pex
May 14 13:34:17 devnet sekaid[2471]: 1:34PM INF Saving AddrBook to file book=/home/chaos/sekai/config/addrbook.json module=p2p size=4
May 14 13:34:17 devnet sekaid[2471]: 1:34PM INF Ensure peers module=pex numDialing=0 numInPeers=4 numOutPeers=0 numToDial=32
May 14 13:34:17 devnet sekaid[2471]: 1:34PM INF We need more addresses. Sending pexRequest to random peer module=pex peer="Peer{MConn{192.168.88.123:51090} 77f8bdaee841f4b0ac231d3a307f729cd9bcdb0c in}"

@kmlbgn kmlbgn added bug Something isn't working Priority: Critical labels May 16, 2024
@kiragpg
Copy link
Contributor

kiragpg commented May 22, 2024

A validator with a different version should panic or fail immediately after getting the genesis.json.

Did you try this with pure sekai or used interx and kira manager tool as well? This should be prevented on kira manager tool, sekai does not have ability to check it - this is common on all cosmos chains

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

No branches or pull requests

2 participants