Simple Subnet Management#6146
Merged
mergify[bot] merged 19 commits intosigp:unstablefrom Nov 26, 2024
Merged
Conversation
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
jimmygchen
reviewed
Jul 29, 2024
Member
Author
|
Thanks for the review @jimmygchen - I think i've addressed all of these |
jimmygchen
reviewed
Oct 4, 2024
jimmygchen
reviewed
Oct 4, 2024
jimmygchen
requested changes
Oct 14, 2024
Member
jimmygchen
left a comment
There was a problem hiding this comment.
I've reviewed the PR and it looks much cleaner! I've added a few comments / questions.
I think this will simplify implementing PeerDAS validator custody (subscriptions) too.
jimmygchen
approved these changes
Oct 31, 2024
Member
jimmygchen
left a comment
There was a problem hiding this comment.
Nice, looks good to me now! 👍
michaelsproul
added a commit
that referenced
this pull request
Nov 25, 2024
Squashed commit of the following: commit 1beb678 Merge: 4968d36 6e1945f Author: Age Manning <Age@AgeManning.com> Date: Mon Nov 25 10:25:40 2024 +1100 Merge latest unstable commit 4968d36 Merge: 7c27978 1126058 Author: Jimmy Chen <jchen.tc@gmail.com> Date: Thu Oct 31 23:26:19 2024 +1100 Merge branch 'unstable' into simple-peer-mapping commit 7c27978 Merge: 0130b97 7105442 Author: Age Manning <Age@AgeManning.com> Date: Thu Oct 31 09:22:40 2024 +1100 Merge branch 'unstable' into simple-peer-mapping commit 0130b97 Merge: 0d319f1 48aa353 Author: Age Manning <Age@AgeManning.com> Date: Tue Oct 29 18:00:55 2024 +1100 Merge branch 'unstable' into simple-peer-mapping commit 0d319f1 Merge: 8c7ba30 fe889c6 Author: Age Manning <Age@AgeManning.com> Date: Tue Oct 29 15:33:16 2024 +1100 Remove sync subnets from ENR on unsubscribe commit 8c7ba30 Author: Age Manning <Age@AgeManning.com> Date: Mon Oct 28 20:34:42 2024 +1100 Reviewers comments commit 65fe3b5 Merge: 6ca4a02 8188e03 Author: Age Manning <Age@AgeManning.com> Date: Mon Oct 28 19:56:38 2024 +1100 Merge latest unstable commit 6ca4a02 Author: Age Manning <Age@AgeManning.com> Date: Thu Sep 19 12:06:06 2024 +1000 Fix tests commit d96075e Merge: 0a20547 8b085dd Author: Age Manning <Age@AgeManning.com> Date: Thu Sep 19 11:39:09 2024 +1000 Merge latest unstable commit 0a20547 Author: Age Manning <Age@AgeManning.com> Date: Thu Sep 19 11:38:21 2024 +1000 Fix lints commit 1b6833f Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:42:23 2024 +1000 Missed a comment, corrected it commit 03b4049 Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:39:10 2024 +1000 Fix errors commit b0ac85e Merge: 1a89fb4 873748d Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:33:34 2024 +1000 Merge latest unstable commit 1a89fb4 Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:27:19 2024 +1000 Correct comments and reviewers comments commit 6bd0f75 Author: Age Manning <Age@AgeManning.com> Date: Mon Jul 22 16:15:49 2024 +1000 Update tests for new version commit bd5a753 Author: Age Manning <Age@AgeManning.com> Date: Tue Jul 16 16:51:22 2024 +1000 First draft without tests commit 0dd4e05 Merge: 2c42e45 4cfdd82 Author: Age Manning <Age@AgeManning.com> Date: Wed Jul 10 14:22:21 2024 +1000 Merge latest unstable commit 2c42e45 Author: Age Manning <Age@AgeManning.com> Date: Mon May 13 10:10:40 2024 +0300 Initial temp commit
Merged
michaelsproul
added a commit
that referenced
this pull request
Nov 25, 2024
Squashed commit of the following: commit 51cbf1c Author: Michael Sproul <michael@sigmaprime.io> Date: Mon Nov 25 15:56:54 2024 +1100 Prevent clash with pin of rust_eth_kzg commit 1beb678 Merge: 4968d36 6e1945f Author: Age Manning <Age@AgeManning.com> Date: Mon Nov 25 10:25:40 2024 +1100 Merge latest unstable commit 4968d36 Merge: 7c27978 1126058 Author: Jimmy Chen <jchen.tc@gmail.com> Date: Thu Oct 31 23:26:19 2024 +1100 Merge branch 'unstable' into simple-peer-mapping commit 7c27978 Merge: 0130b97 7105442 Author: Age Manning <Age@AgeManning.com> Date: Thu Oct 31 09:22:40 2024 +1100 Merge branch 'unstable' into simple-peer-mapping commit 0130b97 Merge: 0d319f1 48aa353 Author: Age Manning <Age@AgeManning.com> Date: Tue Oct 29 18:00:55 2024 +1100 Merge branch 'unstable' into simple-peer-mapping commit 0d319f1 Merge: 8c7ba30 fe889c6 Author: Age Manning <Age@AgeManning.com> Date: Tue Oct 29 15:33:16 2024 +1100 Remove sync subnets from ENR on unsubscribe commit 8c7ba30 Author: Age Manning <Age@AgeManning.com> Date: Mon Oct 28 20:34:42 2024 +1100 Reviewers comments commit 65fe3b5 Merge: 6ca4a02 8188e03 Author: Age Manning <Age@AgeManning.com> Date: Mon Oct 28 19:56:38 2024 +1100 Merge latest unstable commit 6ca4a02 Author: Age Manning <Age@AgeManning.com> Date: Thu Sep 19 12:06:06 2024 +1000 Fix tests commit d96075e Merge: 0a20547 8b085dd Author: Age Manning <Age@AgeManning.com> Date: Thu Sep 19 11:39:09 2024 +1000 Merge latest unstable commit 0a20547 Author: Age Manning <Age@AgeManning.com> Date: Thu Sep 19 11:38:21 2024 +1000 Fix lints commit 1b6833f Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:42:23 2024 +1000 Missed a comment, corrected it commit 03b4049 Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:39:10 2024 +1000 Fix errors commit b0ac85e Merge: 1a89fb4 873748d Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:33:34 2024 +1000 Merge latest unstable commit 1a89fb4 Author: Age Manning <Age@AgeManning.com> Date: Mon Sep 9 12:27:19 2024 +1000 Correct comments and reviewers comments commit 6bd0f75 Author: Age Manning <Age@AgeManning.com> Date: Mon Jul 22 16:15:49 2024 +1000 Update tests for new version commit bd5a753 Author: Age Manning <Age@AgeManning.com> Date: Tue Jul 16 16:51:22 2024 +1000 First draft without tests commit 0dd4e05 Merge: 2c42e45 4cfdd82 Author: Age Manning <Age@AgeManning.com> Date: Wed Jul 10 14:22:21 2024 +1000 Merge latest unstable commit 2c42e45 Author: Age Manning <Age@AgeManning.com> Date: Mon May 13 10:10:40 2024 +0300 Initial temp commit
Member
|
@mergify queue |
✅ The pull request has been merged automaticallyDetailsThe pull request has been merged automatically at 08e8b92 |
| maximum_gossip_clock_disparity_millis: spec.maximum_gossip_clock_disparity_millis, | ||
| message_domain_invalid_snappy: spec.message_domain_invalid_snappy, | ||
| message_domain_valid_snappy: spec.message_domain_valid_snappy, | ||
| attestation_subnet_extra_bits: spec.attestation_subnet_extra_bits, |
Member
There was a problem hiding this comment.
The removal of these fields may break some third-party HTTP API consumers. I will flag this PR as backwards-incompat so that this is mentioned in the release notes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This is an implementation of ethereum/consensus-specs#3735
Essentially, rather than having Lighthouse rotate every 24 hours around long-lived subnets, it will stay fixed on subnets for the duration of its run (and it's lifetime until a user manually deletes the network.key in the lighthouse directory).
The rotations have a dubious practical importance and adds quite a bit of complexity in our code base. By removing the rotations I was able to simplify the code. This also helps with debugging and keeping tracking of subnets and ENRs (our ENRs will also be stable, as we no longer need to rotate the subnet ids there).
While I was in there, I took the liberty to combine the SyncCommitteeSubnets with the AttestationSubnets into a single
SubnetServicewhich I think is a bit cleaner and easier to reason about.Because this PR changes a bit of code and if there are bugs will immediately impact the performance of validators, we should take caution in merging this before significant testing.