-
Notifications
You must be signed in to change notification settings - Fork 42
feat: implement electra deposits #1424
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 53 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
ed74379
feat EpochProcessing.process_slashings electra changes
LeanSerra 71b3674
feat compute_proposer_index changes
LeanSerra 9aa4202
feat compute_sync_committees Electra changes
LeanSerra f09b71b
fix fork_choice.ex tests were flaky because env var cleanup was not done
LeanSerra df45ee4
feat eligible_for_activation_queue Electra changes
LeanSerra 8fb4d63
feat new compounding_withdrawal_credential? Electra function
LeanSerra 6e34108
feat new has_compounding_withdrawal_credential Electra function
LeanSerra 620e700
feat new has_execution_withdrawal_credential Electra function
LeanSerra d904593
feat fully_withdrawable_validator? Electra changes
LeanSerra 5445583
feat new get_max_effective_balance Electra function
LeanSerra 5cbc5af
feat partially_withdrawable_validator? Electra changes
LeanSerra 753badb
fix typo in struct field in has_compounding_withdrawal_credential
LeanSerra 29bf08a
feat new get_committee_indices Electra function
LeanSerra 17bf479
feat get_attesting_indices Electra changes
LeanSerra 42b0bfb
lint remove unnecessary parentheses in if
LeanSerra 6df1b36
feat slash_validator Electra changes
LeanSerra 9e13ad5
feat new get_balance_churn_limit Electra function
LeanSerra abc2585
feat new get_activation_exit_churn_limit Electra function
LeanSerra 5b7e5dc
feat compute_exit_epoch_and_churn Electra function
LeanSerra 4eddb4b
feat initiate_validator_exit Electra changes
LeanSerra 44a00ec
feat process_registry_updates Electra changes
LeanSerra 9bc3a0b
refactor remove unused eject_validator(_,_,_, false) variant
LeanSerra ed8be8a
fix compute_exit_epoch_and_update_churn wrong exit_balance calculation
LeanSerra c084913
Merge branch 'electra-support' into electra_predicates
LeanSerra 6ec0216
fix additional_epochs calculation in compute_exit_epoch_and_update_churn
LeanSerra 7da3d5a
fix wrong values for constants in minimal config
LeanSerra 70d40aa
Merge branch 'electra_predicates' into electra_validator_exit
LeanSerra e4e8607
feat process_epoch changes + deposits/consolidation scaffolding
LeanSerra 0e53f57
feat new is_valid_deposit_signature Electra function
LeanSerra 12ed2d3
feat get_validator_from_deposit Electra changes
LeanSerra a73c061
feat apply_deposit Electra changes
LeanSerra 6ad6e4d
feat new apply_pending_deposit Electra function
LeanSerra 3eef3e7
feat new process_pending_deposits Electra function
LeanSerra 88c7308
refactor move registry_update for each validator to own function inli…
LeanSerra 14a0539
Merge branch 'electra_validator_exit' into electra_deposits
LeanSerra ebc73e0
refactor avoid negation in if when calculating pending_deposits in ap…
LeanSerra f8c443a
Merge branch 'electra-support' into electra_validator_exit
LeanSerra 8f72d6b
Merge branch 'electra_validator_exit' into electra_deposits
LeanSerra b4a9d15
Merge branch 'electra-support' into electra_validator_exit
LeanSerra 280669a
Merge branch 'electra_validator_exit' into electra_deposits
LeanSerra c2db045
refactor move logic to handle an individual pending_deposit to its ow…
LeanSerra 7bc38b9
feat process_operations Electra changes
LeanSerra 6d74e53
feat new process_deposit_request Electra function
LeanSerra 40b0a5c
fix conditional logic for verify_deposits was incorrect
LeanSerra 5b9721c
Merge branch 'electra-support' into electra_deposits
LeanSerra 38c5a4e
docs update electra-gap.md with changes from #1424
LeanSerra ff7ab9f
Merge branch 'electra-support' into electra_deposits
LeanSerra c4008f2
fix apply_deposits, apply_initial_deposit amount should be 0, returne…
LeanSerra ffbd715
fix apply_deposits using Enum.member when it should be using Enum.any
LeanSerra a9a9d2f
fix process_deposit_request was overwritting the updated_state
LeanSerra 3346f10
fix add new Containers to operations.ex runner
LeanSerra b85fcbd
Merge branch 'electra-support' into electra_deposits
LeanSerra c049a33
Merge branch 'electra-support' into electra_deposits
LeanSerra 5b7528f
add TODO comments for process_withdrawal_request and process_consolid…
LeanSerra 096d71f
refactor process_deposit_request
LeanSerra c166d30
fix diff remove unnecessary added lines
LeanSerra fe117dc
refactor Mutators.apply_deposit
LeanSerra 566221f
refactor EpochProcessing.apply_pending_deposit
LeanSerra b044e6d
add TODO comment for process_pending_consolidations
LeanSerra 762bdfb
refactor rename apply_initial_deposit to add_validator_to_registry
LeanSerra 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
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.