-
Notifications
You must be signed in to change notification settings - Fork 25
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: wait synced requires initial connected peer #1359
fix: wait synced requires initial connected peer #1359
Conversation
75cdbb9
to
950e300
Compare
950e300
to
c27c357
Compare
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.
This branch looks good, but when the base node suffers any issues users get stuck on setup screen now. Which is correct behaviour, but we need some base node fixes in place before we apply this, as it will make ti seem more broken, as the errors were hidden before and seemingly all was working.
Even with the updated base node. This branch won't finalize syncing and move away from the setup screen. Base node logs say the chain is up to date but we remain stuck on setup screen. If I sync from |
I wanted to prevent from false positive
|
Tested. Lets change the text to align with what we're doing.
Edit: Actually I am still running into the problem of not making it passed the setup screen on both sync peers, and block sync. It only happens to me on this branch 🫣 |
Coverted it to draft. We need to investigate it in the base node repo. We shouldn't receive |
#1348
Description
Finish node syncing not only when
initial_sync_achieved
but alsoinitial_connected_peers
Motivation and Context
Sometimes app finishes node syncing when no
initial_connected_peers
. It leads to a situation where we begin mining on an outdated chain. This chain is synced later, once a connection to a peer is finally established.How Has This Been Tested?
App sometimes doesn't connect to any peer and receives
initial_sync_achieved
as true. Not sure how to reproduce it on demand.