-
Notifications
You must be signed in to change notification settings - Fork 182
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
sync_committee_subscriptions - Replace until_epoch with period #144
Comments
until_epoch
issue
I don't believe this works. The validator client should call subscribe a random number of epochs prior to the start of the sync committee period (up to I'm also not sure there's any value in validator clients using the full look ahead period as sync committee periods are very long and the validator has nothing to do until they're due to subscribe. For Teku the validator client simply picks the epoch they should subscribe at and waits until then to request duties and send subscription requests. Using a committee period number here would also be the first place I'm aware of that numbered committee periods are used (certainly in the REST API but its not really even a concept in the beacon spec). |
@dapplion do you wish to pursue this or can we close? |
After implementing @ajsutton PRs I think this is not necessary closing |
PR #136 by @rolfyone has a potential inefficiency if the validator does 1 sync committee period of lookahead and pushes a subscription. With
until_epoch
it will inform the node when to unsubscribe but not when to subscribe.I believe it would be simpler to replace
until_epoch
withperiod
. With a single number the node exactly when that subscription is of interest, and computefrom_epoch
anduntil_epoch
The text was updated successfully, but these errors were encountered: