-
-
Notifications
You must be signed in to change notification settings - Fork 412
feat: peerDAS - implement validator custody #7640
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
matthewkeil
merged 43 commits into
ChainSafe:peerDAS
from
dguenther:peerDAS-validator-custody
Apr 14, 2025
Merged
Changes from 20 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
f40da81
Add VALIDATOR_CUSTODY_REQUIREMENT and BALANCE_PER_ADDITIONAL_CUSTODY_…
dguenther 308f33f
add missing config fields to getSpecCriticalParams
hughy 51e147c
convert CustodyConfig from type to class
hughy 7062510
Add targetCustodyGroupCount and advertisedCustodyGroupCount
dguenther 04879c0
Merge pull request #2 from dguenther/vc-add-cgcs
hughy d5b74a1
Fetch sampleSubnets and samplingGroups from CustodyConfig
dguenther 9bc3975
Use CustodyConfig in PeerDiscovery
dguenther 8dacc5e
compute validators custody requirement
hughy 46345da
add CustodyConfig to init for NetworkCore in networkCoreWorker
hughy 7c1ce33
update CustodyConfig on forkChoiceFinalized events
hughy fe23ffa
Pass sampling groups into network worker as well
dguenther a6771ab
Update metadata and ENR with advertised group count
dguenther 2cfc051
track local validators
hughy ed58676
Replace sampledColumns with getSampledColumns
dguenther d2647ad
Remove custodyGroups from custodyConfig
dguenther 2a018b4
Clean up uses of data column groups
dguenther bf78076
Fix from code review
dguenther aa664e3
Fix dataColumn tests
dguenther 332f08f
Fix skipped test
dguenther 1fa193c
Remove unused CustodyConfig from BaseNetworkInit
dguenther 727ea9d
Simplify diff
dguenther 6c60c45
Update comment
dguenther b6c5963
Fix Network
dguenther f89b721
Simplify diff
dguenther 0c733b7
Simplify discover
dguenther d5d9352
Remove exports
dguenther aa576b4
remove LocalValidatorRegistry
hughy 6e513f7
Add tests for updateCustodyRequirement
dguenther 6c58566
Remove unused getSampledGroups
dguenther bb64459
reverts changes adjacent to ValidatorMonitor
hughy 5a93092
Revert optional operator
dguenther 736b3a6
Revert peerManager changes to samplingGroups
dguenther e45f9e6
Cache values instead of using getters
dguenther 43773a9
Use ChainEventEmitter instead of CustodyEvent
dguenther b07d7e6
Merge remote-tracking branch 'upstream/peerDAS' into peerDAS-validato…
dguenther be88817
update CustodyConfig separately from computing custody requirement
hughy 516f84a
Use CustodyConfig in NetworkConfig
dguenther 5bd3044
Use updateTargetCustodyGroupCount in NetworkConfig
dguenther b7d2275
add option to disable validator custody
hughy 25d568b
do not emit custody events if validator custody disabled
hughy f0343fe
Cleanup code
dguenther e0426e7
Merge remote-tracking branch 'upstream/peerDAS' into peerDAS-validato…
dguenther 9dae088
Access custodyConfig via getter
dguenther 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
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
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.
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.