-
Notifications
You must be signed in to change notification settings - Fork 112
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
refactor(cli): Remove babe-lead flag #3193
Conversation
5420c96
to
77f16ea
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## development #3193 +/- ##
===============================================
- Coverage 51.62% 51.55% -0.08%
===============================================
Files 221 221
Lines 28283 28236 -47
===============================================
- Hits 14601 14556 -45
+ Misses 12364 12362 -2
Partials 1318 1318 |
the reason the --babe-lead flag exists is because the start slot of the network is based on the timestamp of block 1. if there are two conflicting block 1s, then the network will partition due to some nodes having a different start slot than others. I'd ensure this issue is resolved before merging this the fork choice rule should pick the same block 1 on every node, but I believe the start slot was being set on first validation which was the problem |
Thanks for this comment Elizabeth. We've made a lot of changes since this flag was added, so I think that's why this issue should be resolved by now. |
okay awesome, I just wasn't sure if context was needed for why it was there in the first place lol. if it's working with multiple block producing nodes and multiple block 1s being produced then I think you're good 👍 edit: to force multiple block 1s you can modify the babe threshold to make it more likely btw |
ff2c44a
to
9b7f93d
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.
Looking nice 👍
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 work!
Very good catch @jimjbrettj ! 👏 I executed the tests in development and it has the same behavior so it is not introduced by my change. |
🎉 This PR is included in version 0.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Changes
Tests
Issues
#3184
Primary Reviewer
@timwu20