-
Notifications
You must be signed in to change notification settings - Fork 40
feat: electra process_operations changes #1426
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 85 commits
Commits
Show all changes
97 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 82afc64
fix get_committee_indices calculation was incorrect
LeanSerra 6521f68
feat process_attestation Electra changes
LeanSerra e437245
feat new get_pending_balance_to_withdraw Electra function
LeanSerra 8417e96
feat process_voluntary_exit Electra changes
LeanSerra 39dd889
feat new process_withdrawal_request Electra function
LeanSerra 2db24de
feat add constant g2_point_at_infinity
LeanSerra 1b8024e
feat new queue_excess_active_balance Electra function
LeanSerra 253b824
feat new switch_to_compounding_validator Electra function
LeanSerra 6ace4d9
feat new get_consolidation_churn_limit Electra function
LeanSerra 2166fb4
refactor move logic to find a validator by pubkey to own function
LeanSerra 2c1001f
refactor invalid_withdrawal_credentials parameter is now the address …
LeanSerra 0f8b360
feat new process_consolidation_request Electra function
LeanSerra 5b9721c
Merge branch 'electra-support' into electra_deposits
LeanSerra 38c5a4e
docs update electra-gap.md with changes from #1424
LeanSerra a7997c5
Merge branch 'electra_deposits' into electra_process_operations
LeanSerra 20515be
refactor process_consolidation_request split validations to different…
LeanSerra 0726736
refactor process_withdrawal_request split validations to different fu…
LeanSerra 65b1f57
feat new compute_consolidation_epoch_and_update_churn Electra function
LeanSerra 9f720d5
fix do_process_conslidation_request was using compute_exit when it sh…
LeanSerra 27ef594
fix typo in struct field in do_process_consolidation_request
LeanSerra 4dcfb90
fix typo in struct field in do_process_consolidation_request
LeanSerra 93c1002
docs update electra-gap.md with changes from #1426
LeanSerra ff7ab9f
Merge branch 'electra-support' into electra_deposits
LeanSerra 7cab380
Merge branch 'electra_deposits' into electra_process_operations
LeanSerra ae7be10
fix full_exit valid_withdrawal was returning a nested tuple instead o…
LeanSerra b426cc7
fix do_process_consolidation_request was returnig {:process, BeaconSt…
LeanSerra 7d711d5
fix full_exit handle_valid_withdrawal_request was not updating the ex…
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 86d539f
fix invalid_consolidation_request_credentials? logic was inverted + s…
LeanSerra b85fcbd
Merge branch 'electra-support' into electra_deposits
LeanSerra 5f2929f
Merge branch 'electra_deposits' into electra_process_operations
LeanSerra c049a33
Merge branch 'electra-support' into electra_deposits
LeanSerra 2b6c4e1
Merge branch 'electra_deposits' into electra_process_operations
LeanSerra 2eb2ce3
Merge branch 'electra-support' into electra_process_operations
LeanSerra 5bdef50
fix added diff lines
LeanSerra e163179
fix added diff lines
LeanSerra 75bf0b4
fix fast_process_attestation wrong attesting indices
LeanSerra dd42e10
fix BitList.set should be BitList.set?, fix incorrect pattern matchin…
LeanSerra 95f69b1
refactor use pattern matching for Operations.check_data_index_zero
LeanSerra 30952b6
refactor use cond clause for withdrawal_request_type in process_withd…
LeanSerra f41a70a
refactor check_committee_indices improve readability
LeanSerra 35cc192
refactor process_withdrawal_request with clause
LeanSerra 3a7afaf
refactor find_validator uses Aja functions and returns only nil when …
LeanSerra 7c86102
refactor move get_committee_indices call to check_committee_indices
LeanSerra 9b43f1a
refactor rename partial_exit_with_partial_withdrawal_queue_full? to p…
LeanSerra 8ebb655
refactor avoid recalculating pending_balance_to_withdraw in handle_va…
LeanSerra e36cd51
refactor use Aja.Vector.at instead of Enum.at
LeanSerra 8e3456e
refactor rename validate_validators & validate_consolidation_request
LeanSerra 01c86b1
refactor verify_consolidation_validators does not need to return the …
LeanSerra ef1ad43
refactor check_committee_indices reduce function length
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
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.