-
Notifications
You must be signed in to change notification settings - Fork 161
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
Forest can't bootstrap a Lotus node #4576
Comments
@hanabi1224 I'll work on |
The issue has been 'fixed' or mitigated by #4580 as a workaround |
Confirmed that the issue has been fixed in |
Forest can bootstrap a Lotus node now, so closing. We'll track the removal of workaround in #4602 |
Issue summary
It turns out a Forest node (
v0.19.0
) is not a able to bootstrap a Lotus node. It can, however, bootstrap another Forest node.To reproduce on calibnet:
LOTUS_SYNC_BOOTSTRAP_PEERS=1
)lotus net peers
observe that the only peer it is connected to is the bootstrap node, whereasforest-cli net peers
shows way more peers.Similarly, do the same with another Forest and observe that the second instance has many other peers.
This behaviour might stem from the fact that the peer exchange is not implemented in gossipsub in rust-libp2p ( code mention and issue) while explicitly enabled in Lotus.
Does peer exchange over Kademlia and Identify not work in Lotus? If so, can this be mitigated? The alternative would be implementing peer exchange in gossipsub, which to my understanding, is not a trivial task.
To work on this, and ensure it doesn't break in the future, once fixed, we also need a CI job to check Forest-bootstrapper compatibility with Lotus (and another Forest).
Other information and links
The text was updated successfully, but these errors were encountered: