-
Notifications
You must be signed in to change notification settings - Fork 1k
Builder deposits optimisation #9311
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
Open
pawanjay176
wants to merge
23
commits into
sigp:unstable
Choose a base branch
from
pawanjay176:builder-deposits-optimisation
base: unstable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
eda918d
Batch verify builder deposit signatures
pawanjay176 ed15ac6
Refactor `onboard_builders_from_pending_deposits` based on new spec
pawanjay176 369eecd
Add a builder onboarding cache
pawanjay176 112b093
Working wiring with pre-gloas cache
pawanjay176 0aa7d7a
More threading
pawanjay176 5e46d38
Clean up threading with a GloasVerificationContext
pawanjay176 18bcc24
Add a hashmap for keeping track of added builders
pawanjay176 826a521
Update onboarding cache size
pawanjay176 49410fa
Add better docs
pawanjay176 e2e8406
fmt
pawanjay176 9738905
lint
pawanjay176 fd43fdc
Cleanup
pawanjay176 44dcf5d
Fix lint
pawanjay176 bc1a156
Call initialize_ptc in all cases and rename variant
pawanjay176 50cd378
Use spawn_blocking_with_rayon for batch signature verification tasks
pawanjay176 16f615e
Review comments
pawanjay176 33bccd0
Add unit tests
pawanjay176 f89c099
Remove SkipBuilderOnboarding variant and thread the onboard builder c…
pawanjay176 de89987
Add more tests
pawanjay176 70b8594
Optimise by not iterating through the state.builders list for every i…
pawanjay176 ecbb7e7
Only onboard state deposits before gloas
pawanjay176 656e70a
Fix consensus bugs and add test
pawanjay176 31b6f3d
Merge branch 'unstable' into builder-deposits-optimisation
pawanjay176 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this pretty much a no-op after the fork?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it is. Hadn't considered it. can potentially only do this for pre-gloas states and then delete it post gloas