Skip to content
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

subnets subscription revamp #7341

Merged
merged 56 commits into from
Aug 3, 2023

Conversation

mehdi-aouadi
Copy link
Contributor

@mehdi-aouadi mehdi-aouadi commented Jul 7, 2023

PR Description

Subscribe to fixed SUBNETS_PER_NODE attestation subnets based on the node id for EPOCHS_PER_SUBNET_SUBSCRIPTION epochs:

The spec can be found here

Fixed Issue(s)

fixes #7296

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

@mehdi-aouadi mehdi-aouadi self-assigned this Jul 7, 2023
@mehdi-aouadi mehdi-aouadi force-pushed the 7296-subnet-subscriptions branch 2 times, most recently from 8322063 to 23e12f4 Compare July 7, 2023 14:12
@mehdi-aouadi mehdi-aouadi changed the title calculate subscribed subnet from node id subscribed subnet from node id Jul 10, 2023
@mehdi-aouadi mehdi-aouadi changed the title subscribed subnet from node id subscribed subnets from node id Jul 10, 2023
@mehdi-aouadi mehdi-aouadi changed the title subscribed subnets from node id subnets subscription revamp Jul 10, 2023
@mehdi-aouadi mehdi-aouadi marked this pull request as ready for review July 12, 2023 08:51
@mehdi-aouadi mehdi-aouadi requested a review from zilm13 July 12, 2023 09:00
@mehdi-aouadi mehdi-aouadi force-pushed the 7296-subnet-subscriptions branch 2 times, most recently from 93ea71a to b500a6c Compare July 28, 2023 07:58
@mehdi-aouadi mehdi-aouadi added the doc-change-required Indicates an issue or PR that requires doc to be updated label Jul 28, 2023
Copy link
Contributor

@zilm13 zilm13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just final touch

@mehdi-aouadi mehdi-aouadi mentioned this pull request Aug 2, 2023
2 tasks
@mehdi-aouadi mehdi-aouadi merged commit 1703fa0 into Consensys:master Aug 3, 2023
15 checks passed
@mehdi-aouadi mehdi-aouadi deleted the 7296-subnet-subscriptions branch August 3, 2023 15:53
@mehdi-aouadi mehdi-aouadi removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Aug 4, 2023
@mehdi-aouadi mehdi-aouadi added the doc-change-required Indicates an issue or PR that requires doc to be updated label Aug 22, 2023
@alexandratran alexandratran removed the doc-change-required Indicates an issue or PR that requires doc to be updated label Sep 12, 2023
@Nashatyrev
Copy link
Contributor

Just adding a reference to the spec pr: ethereum/consensus-specs#3312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update subnet subscriptions according to the spec
5 participants