-
Notifications
You must be signed in to change notification settings - Fork 159
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
fix(f3): F3 sidecar should work with Kademlia disabled #5111
Conversation
1123c90
to
994b9da
Compare
9831610
to
a1f8275
Compare
a1f8275
to
fc58928
Compare
$FOREST_PATH --chain calibnet --encrypt-keystore false --mdns false --kademlia false --auto-download-snapshot --log-dir "$LOG_DIRECTORY" --detach --save-token ./admin_token | ||
$FOREST_PATH --chain calibnet --encrypt-keystore false --mdns false --kademlia false --auto-download-snapshot --log-dir "$LOG_DIRECTORY" --save-token ./admin_token & | ||
FOREST_NODE_PID=$! | ||
sleep 10s # to allow admin_token being saved |
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.
Let's avoid sleeping (and potential flakiness) by first running Forest with --exit-after-init
and then starting the node in the background. Would that work?
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 idea! Fixed.
No green checkmark! |
c54f2b0
to
9b75b0e
Compare
Summary of changes
This PR introduces a second internal Kademlia for bootstrapping F3 when the node Kademlia is disabled.
Changes introduced in this pull request:
Reference issue to close (if applicable)
Closes #5065
Other information and links
Change checklist