Skip to content
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

Add EIP: Increase the MAX_EFFECTIVE_BALANCE #7251

Merged
merged 11 commits into from
Oct 3, 2023

Conversation

michaelneuder
Copy link
Contributor

@michaelneuder michaelneuder commented Jun 28, 2023

@github-actions github-actions bot added c-new Creates a brand new proposal s-draft This EIP is a Draft t-core w-ci Waiting on CI to pass labels Jun 28, 2023
Copy link
Contributor

@djrtwo djrtwo left a comment

Choose a reason for hiding this comment

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

Left a few quick comments but haven't done a deep review of the granular changes

***Consensus layer changes***

See https://github.com/michaelneuder/consensus-specs/pull/3/files for a diff
view of the CL spec changes. Changes are also copied below for convenience.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest following some of the format we've recently used where changes are just discussed here at a high level and linked out to the actual code snippets. Otherwise, the double-maintenance will not be fun

See this section in eip 7045 for an example

Copy link
Contributor Author

Choose a reason for hiding this comment

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

great :-) that was annoying to put together so im happy we don't have to maintain it lol.


### Features

1. **`0x02` withdrawal credential signals compounding.** These validators will be excluded from the partial withdrawals sweep and their balance compounds.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think 0x02 is still needed if you have partial withdrawals from triggerable from EL (e.g. an extended 7002)?

It seems to me that such a functionality would potentially preclude the need for a new credential

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, I see this is still "in discussion" below even though 7002 is noted as a dependency above. I would note it as a point of discussion in that line item

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@github-actions github-actions bot added w-ci Waiting on CI to pass and removed w-ci Waiting on CI to pass labels Jun 28, 2023
@@ -0,0 +1,95 @@
---
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
---
---
eip: 7251

Issuing EIP number using PR number. Please also update the filename.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

12. Modify `is_aggregator` to be weight-based.
13. Modify `compute_weak_subjectivity_period` to use new churn limit function.
14. Add `has_compounding_withdrawal_credential` to check for `0x02` credential.
15. Modify `is_fully_withdrawalable_validator` to check for compounding credentials.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
15. Modify `is_fully_withdrawalable_validator` to check for compounding credentials.
15. Modify `is_fully_withdrawable_validator` to check for compounding credentials.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done!

@eth-bot
Copy link
Collaborator

eth-bot commented Sep 29, 2023

✅ All reviewers have approved.

@eth-bot eth-bot changed the title Max eb increase Add EIP: Increase the MAX_EFFECTIVE_BALANCE Sep 29, 2023
@eth-bot eth-bot added e-consensus Waiting on editor consensus e-review Waiting on editor to review labels Sep 29, 2023
@github-actions github-actions bot added w-ci Waiting on CI to pass and removed w-ci Waiting on CI to pass labels Sep 29, 2023
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

The commit 81849e7 (as a parent of 18ac29b) contains errors.
Please inspect the Run Summary for details.

@github-actions github-actions bot removed the w-ci Waiting on CI to pass label Oct 2, 2023
17. Modify `is_partially_withdrawable_validator` to check for excess balance.
18. Modify `get_expected_withdrawals` to use excess balance.


Copy link
Member

Choose a reason for hiding this comment

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

Suggested change

@eth-bot eth-bot enabled auto-merge (squash) October 3, 2023 17:03
Copy link
Collaborator

@eth-bot eth-bot left a comment

Choose a reason for hiding this comment

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

All Reviewers Have Approved; Performing Automatic Merge...

@eth-bot eth-bot merged commit be77ddf into ethereum:master Oct 3, 2023
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-new Creates a brand new proposal e-consensus Waiting on editor consensus e-review Waiting on editor to review s-draft This EIP is a Draft t-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants