-
Notifications
You must be signed in to change notification settings - Fork 42
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 96 commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
ed74379
feat EpochProcessing.process_slashings electra changes
71b3674
feat compute_proposer_index changes
9aa4202
feat compute_sync_committees Electra changes
f09b71b
fix fork_choice.ex tests were flaky because env var cleanup was not done
df45ee4
feat eligible_for_activation_queue Electra changes
8fb4d63
feat new compounding_withdrawal_credential? Electra function
6e34108
feat new has_compounding_withdrawal_credential Electra function
620e700
feat new has_execution_withdrawal_credential Electra function
d904593
feat fully_withdrawable_validator? Electra changes
5445583
feat new get_max_effective_balance Electra function
5cbc5af
feat partially_withdrawable_validator? Electra changes
753badb
fix typo in struct field in has_compounding_withdrawal_credential
29bf08a
feat new get_committee_indices Electra function
17bf479
feat get_attesting_indices Electra changes
42b0bfb
lint remove unnecessary parentheses in if
6df1b36
feat slash_validator Electra changes
9e13ad5
feat new get_balance_churn_limit Electra function
abc2585
feat new get_activation_exit_churn_limit Electra function
5b7e5dc
feat compute_exit_epoch_and_churn Electra function
4eddb4b
feat initiate_validator_exit Electra changes
44a00ec
feat process_registry_updates Electra changes
9bc3a0b
refactor remove unused eject_validator(_,_,_, false) variant
ed8be8a
fix compute_exit_epoch_and_update_churn wrong exit_balance calculation
c084913
Merge branch 'electra-support' into electra_predicates
6ec0216
fix additional_epochs calculation in compute_exit_epoch_and_update_churn
7da3d5a
fix wrong values for constants in minimal config
70d40aa
Merge branch 'electra_predicates' into electra_validator_exit
e4e8607
feat process_epoch changes + deposits/consolidation scaffolding
0e53f57
feat new is_valid_deposit_signature Electra function
12ed2d3
feat get_validator_from_deposit Electra changes
a73c061
feat apply_deposit Electra changes
6ad6e4d
feat new apply_pending_deposit Electra function
3eef3e7
feat new process_pending_deposits Electra function
88c7308
refactor move registry_update for each validator to own function inli…
14a0539
Merge branch 'electra_validator_exit' into electra_deposits
ebc73e0
refactor avoid negation in if when calculating pending_deposits in ap…
f8c443a
Merge branch 'electra-support' into electra_validator_exit
8f72d6b
Merge branch 'electra_validator_exit' into electra_deposits
b4a9d15
Merge branch 'electra-support' into electra_validator_exit
280669a
Merge branch 'electra_validator_exit' into electra_deposits
c2db045
refactor move logic to handle an individual pending_deposit to its ow…
7bc38b9
feat process_operations Electra changes
6d74e53
feat new process_deposit_request Electra function
40b0a5c
fix conditional logic for verify_deposits was incorrect
82afc64
fix get_committee_indices calculation was incorrect
6521f68
feat process_attestation Electra changes
e437245
feat new get_pending_balance_to_withdraw Electra function
8417e96
feat process_voluntary_exit Electra changes
39dd889
feat new process_withdrawal_request Electra function
2db24de
feat add constant g2_point_at_infinity
1b8024e
feat new queue_excess_active_balance Electra function
253b824
feat new switch_to_compounding_validator Electra function
6ace4d9
feat new get_consolidation_churn_limit Electra function
2166fb4
refactor move logic to find a validator by pubkey to own function
2c1001f
refactor invalid_withdrawal_credentials parameter is now the address …
0f8b360
feat new process_consolidation_request Electra function
5b9721c
Merge branch 'electra-support' into electra_deposits
38c5a4e
docs update electra-gap.md with changes from #1424
a7997c5
Merge branch 'electra_deposits' into electra_process_operations
20515be
refactor process_consolidation_request split validations to different…
0726736
refactor process_withdrawal_request split validations to different fu…
65b1f57
feat new compute_consolidation_epoch_and_update_churn Electra function
9f720d5
fix do_process_conslidation_request was using compute_exit when it sh…
27ef594
fix typo in struct field in do_process_consolidation_request
4dcfb90
fix typo in struct field in do_process_consolidation_request
93c1002
docs update electra-gap.md with changes from #1426
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…
b426cc7
fix do_process_consolidation_request was returnig {:process, BeaconSt…
7d711d5
fix full_exit handle_valid_withdrawal_request was not updating the ex…
c4008f2
fix apply_deposits, apply_initial_deposit amount should be 0, returne…
ffbd715
fix apply_deposits using Enum.member when it should be using Enum.any
a9a9d2f
fix process_deposit_request was overwritting the updated_state
3346f10
fix add new Containers to operations.ex runner
86d539f
fix invalid_consolidation_request_credentials? logic was inverted + s…
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
5bdef50
fix added diff lines
e163179
fix added diff lines
75bf0b4
fix fast_process_attestation wrong attesting indices
dd42e10
fix BitList.set should be BitList.set?, fix incorrect pattern matchin…
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
35cc192
refactor process_withdrawal_request with clause
3a7afaf
refactor find_validator uses Aja functions and returns only nil when …
7c86102
refactor move get_committee_indices call to check_committee_indices
9b43f1a
refactor rename partial_exit_with_partial_withdrawal_queue_full? to p…
8ebb655
refactor avoid recalculating pending_balance_to_withdraw in handle_va…
e36cd51
refactor use Aja.Vector.at instead of Enum.at
8e3456e
refactor rename validate_validators & validate_consolidation_request
01c86b1
refactor verify_consolidation_validators does not need to return the …
ef1ad43
refactor check_committee_indices reduce function length
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.