Skip to content

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

Merged
ralexstokes merged 1 commit into
ethereum:devfrom
ethDreamer:balance_churn_limit
Apr 16, 2024
Merged

EIP-7251: Rename get_churn_limit() for clarity#3676
ralexstokes merged 1 commit into
ethereum:devfrom
ethDreamer:balance_churn_limit

Conversation

@ethDreamer
Copy link
Copy Markdown
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
Copy Markdown
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
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