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
Stable attestation subnet subscriptions, note for fork transition clarification #3451
Comments
I'm not sure I understand the question correctly.
There is no reason to do it only 2 epochs before the hark fork. 2 epochs is equal to only 12 minutes. The reason that we do it at least 256 epochs in advance because we want to ensure that the subnet backbones are stable enough.
It's not directly related, but we should specify the time the nodes should be subscribed to the subnets before the hard fork in advance, so we just thought reusing that constant makes sense. |
@ppopth
So current text in spec looks confusing for me. I've suggested the edit. |
I don't understand. Why won't no one be able to find us?
I don't understand this as well. Why are the new topics related to the old attestations? and how is it related to 2 epochs? The reason that it's 256 epochs is that we would have enough time for the nodes to form the mesh of the new topics. |
We have this note currently:
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#attestation-subnet-subscription
Note: When preparing for a hard fork, a node must select and subscribe to subnets of the future fork versioning at least EPOCHS_PER_SUBNET_SUBSCRIPTION epochs in advance of the fork. These new subnets for the fork are maintained in addition to those for the current fork until the fork occurs. After the fork occurs, let the subnets from the previous fork reach the end of life with no replacements.
I have some doubts we need to do this in advance of 256 epochs before the fork:
Maybe
EPOCHS_PER_SUBNET_SUBSCRIPTION
is not related to an advance meaning that we should subscribe as usual forEPOCHS_PER_SUBNET_SUBSCRIPTION
and do it in advance before the fork, but it's not clear with the current text. Maybe polish it a little? I'd just removeat least EPOCHS_PER_SUBNET_SUBSCRIPTION epochs
part.The text was updated successfully, but these errors were encountered: