-
Notifications
You must be signed in to change notification settings - Fork 166
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
update default values for epoch, staking and DKG length #1063
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1063 +/- ##
==========================================
+ Coverage 53.34% 53.36% +0.01%
==========================================
Files 318 318
Lines 21556 21556
==========================================
+ Hits 11500 11504 +4
+ Misses 8484 8479 -5
- Partials 1572 1573 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Just linking this issue to this sibling issue here: https://github.com/dapperlabs/flow-go/issues/5709 |
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.
I've seen @jordanschalm mention non-zero defaults here.
I notice the default setup here:
flow-go/cmd/bootstrap/cmd/finalize.go
Lines 91 to 93 in f2547a2
finalizeCmd.Flags().Uint64Var(&flagNumViewsInEpoch, "epoch-length", 4000, "length of each epoch measured in views") | |
finalizeCmd.Flags().Uint64Var(&flagNumViewsInStakingAuction, "epoch-staking-phase-length", 100, "length of the epoch staking phase measured in views") | |
finalizeCmd.Flags().Uint64Var(&flagNumViewsInDKGPhase, "epoch-dkg-phase-length", 1000, "length of each DKG phase measured in views") |
which seems to be used in the absence of other instructions (other instructions you're setting here for localnet).
I haven't found a setting of 200 / 5/ 80.
QQ:
- do we want to change the general default or the one for localnet?
- Do we want these numbers, sp. for the staking phase length (usually 1/10 the DKG length)?
- Is there a 3d palce where @jordanschalm 's numbers are set?
|
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.
LGTM!
epoch length - 10000
staking length - 2000
DKG length - 2000