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

Bug: GossipSub doesn't work if followers are started before leader #1135

Closed
charithabandi opened this issue Dec 9, 2024 · 1 comment · Fixed by #1137
Closed

Bug: GossipSub doesn't work if followers are started before leader #1135

charithabandi opened this issue Dec 9, 2024 · 1 comment · Fixed by #1137
Labels
bug Something isn't working

Comments

@charithabandi
Copy link
Contributor

charithabandi commented Dec 9, 2024

Version / Commit

v0.10.0 (prerelease)

Operating System

any

Configuration

./kwild setup testnet -v 2

Expected Behavior

order of bring up shouldn't matter

Actual Behavior

Network is stuck if followers are launched before leader as they don't receive the discovery requests (which is used by the leader to guage the network height)

Steps to Reproduce

./kwild setup testnet -v 2

# start follower
./kwild -r .testnet/node1

# start leader
./kwild -r .testnet/node0

Additional Information

No response

@charithabandi charithabandi added the bug Something isn't working label Dec 9, 2024
@jchappelow
Copy link
Member

jchappelow commented Dec 9, 2024

This only happens at genesis (before first connect). So, I realized this is just a consequence of setup testnet and now the leader's bootnodes is empty. There's also a minor bug where if the bootnode connect fails (which is what is happening on validator that starts first), it is not added to the address book AFAICT.

Will resolve and ensure that's all it is.

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

Successfully merging a pull request may close this issue.

2 participants