Skip to content

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 97 commits into from
Apr 24, 2025

Conversation

LeanSerra
Copy link
Contributor

@LeanSerra LeanSerra commented Apr 11, 2025

Motivation

Implement the changes made to process_operation by modifying existing for_ops and adding the new process_withdrawal_request and process_consolidation_request. process_deposit_request was done in #1424

Description

  • Modified process_attestation link
  • New get_pending_balance_to_withdraw link
  • Modified process_voluntary_exit link
  • New process_withdrawal_request link
  • New queue_excess_active_balance link
  • New switch_to_compounding_validator link
  • New get_consolidation_churn_limit link
  • New process_consolidation_request link
  • New compute_consolidation_epoch_and_update_churn link

Fixed Spec Tests

test/generated/mainnet/electra/operations.exs:
previous: 333 tests, 23 failures
now: 333 tests, 19 failures

test/generated/minimal/electra/finality.exs:
previous: 5 tests, 5 failures
now: 5 tests, 0 failures

test/generated/minimal/electra/fork_choice.exs:
previous: 56 tests, 38 failures
now: 56 tests, 0 failures

test/generated/minimal/electra/operations.exs:
previous: 366 tests, 45 failures
now: 366 tests, 38 failures

test/generated/minimal/electra/sanity.exs:
previous: 104 tests, 12 failures, 1 skipped
now: 104 tests, 10 failures, 1 skipped

test/generated/minimal/electra/sync.exs:
previous: 1 test, 1 failure
now: 1 test, 0 failures

tests fixed: 57

Spec Test Progress

11370 tests, 108 failures, 784 skipped

LeanSerra added 30 commits April 3, 2025 11:21

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Base automatically changed from electra_deposits to electra-support April 21, 2025 12:06
@LeanSerra LeanSerra marked this pull request as ready for review April 21, 2025 13:31
@LeanSerra LeanSerra requested a review from a team as a code owner April 21, 2025 13:31
Copy link
Collaborator

@rodrigo-o rodrigo-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed constants, accessors and mutators and they look great, still going through operations

Copy link
Collaborator

@rodrigo-o rodrigo-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Half-way in operations, left a couple of comments

Copy link
Collaborator

@rodrigo-o rodrigo-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some more comments

LeanSerra and others added 2 commits April 23, 2025 17:04
Co-authored-by: Rodrigo Oliveri <[email protected]>
…rawal_request

Co-authored-by: Rodrigo Oliveri <[email protected]>
Copy link
Collaborator

@rodrigo-o rodrigo-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, left some final comments!

Copy link
Collaborator

@rodrigo-o rodrigo-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! 🚀 Just one nit!

@LeanSerra LeanSerra merged commit e5ef002 into electra-support Apr 24, 2025
10 of 14 checks passed
@LeanSerra LeanSerra deleted the electra_process_operations branch April 24, 2025 19:16
rodrigo-o added a commit that referenced this pull request Apr 25, 2025
rodrigo-o added a commit that referenced this pull request Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electra elixir Pull requests that update Elixir code
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants