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

EIP-7251: Rename get_churn_limit() for clarity #3676

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

ethDreamer
Copy link
Contributor

We already have get_validator_churn_limit() so this change will mean we have:

  • get_balance_churn_limit
  • get_validator_churn_limit

This way the names reflect the difference between them (one returns the churn limit in units of 32 ETH validators and the other returns the churn limit in terms of ETH).

@ralexstokes ralexstokes mentioned this pull request Apr 16, 2024
6 tasks
Copy link
Member

@ralexstokes ralexstokes left a comment

Choose a reason for hiding this comment

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

makes sense!

note: not substantive, just changing the name and this function is not currently directly tested in the specs (instead we test wrapping helpers)

@ralexstokes ralexstokes merged commit 3b259b6 into ethereum:dev Apr 16, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants