-
Notifications
You must be signed in to change notification settings - Fork 893
Implement basic validator custody framework (no backfill) #7578
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
dd6c8ab
Add validator_custody_params to chainspec
pawanjay176 4b43621
First pass
pawanjay176 8ff8d1e
Better first version
pawanjay176 04cb05d
plumbing
pawanjay176 b3227d0
Add validator registration
pawanjay176 dfc412f
Persist and load context from db
pawanjay176 d45f9a6
Update the custody at head based on registrations
pawanjay176 0e23535
Fix the custody requirement calculation
pawanjay176 e8345d8
Move validator_custody to beacon_chain; broadcast to network on cgc c…
pawanjay176 748a65b
Fix a bunch of conditions; change internal api to use atomics
pawanjay176 6ab8bbd
Renames and some logic fixes
pawanjay176 b23a4dc
Remove unnecessary receiver
pawanjay176 464b9d7
Merge branch 'unstable' into validator-custody
pawanjay176 1adcc4a
Update validator custody calculation and tests.
jimmygchen 8a56ae0
Remove advertised cgc from `CustodyContext` as we've decided it's not…
jimmygchen 4bde6c6
Update validator custody unit tests.
jimmygchen 8b26088
Avoid passing custody_count all around verification
pawanjay176 ec76b56
Use finalized state for validator custody calculation. Fix build and …
jimmygchen 96cb6fb
Only perform validator custody registration if PeerDAS is scheduled.
jimmygchen 011def6
Remove network dependency from beacon chain: lift the CGC updated net…
jimmygchen 92a990a
Add an epoch params to sampling size, to determine the cgc to apply t…
jimmygchen 55bcba6
Send CGC updates to network to update ENR, metadata and subscribe to …
jimmygchen e29d867
Lint fixes.
jimmygchen f593354
Cleanups
jimmygchen 3d1a1ba
Fix incorrect CGC initialisation on startup.
jimmygchen bd6acc9
Merge branch 'unstable' into validator-custody
jimmygchen 356b01d
Update fulu sync test config
jimmygchen 6404952
Fix incorrect sampling size computation.
jimmygchen 8a39d39
Fix test harness to use correct sampling size.
jimmygchen f3a99ff
Merge branch 'unstable' into validator-custody
jimmygchen 89145b0
Merge branch 'validator-custody' of github.com:pawanjay176/lighthouse…
jimmygchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.