New Ethereum Proposal to Cap the Growth of Active Validators

Need, Proposal, Churn Limit, Managing Validator Exits & Activations

New Ethereum Proposal to Cap the Growth of Active Validators

The Beacon Chain's main function involves managing a group of validators who propose and verify blocks. The Active Validator Index indicates the list of all validators presently involved in the network. The term "churn" denotes how quickly validators are added or removed from this list. This proposal intends to regulate the expansion rate of this index, implying there would be a limit on the number of active validators that can be added over a certain time. The recommendation is to introduce a maximum limit to the churn of the active validator index in the Ethereum Beacon Chain.

The churn limit is determined by the number of validators currently operating on the network. As the number of active validators on Ethereum increases, more new validator activations and exits of existing validators can be processed per epoch. For every additional 65,536 validators on the Ethereum network, the number of new validators that can be activated per epoch rises by one, and the number of validator exits that can be handled per epoch also increases by one.

The core issue here is that a large validator set can pose difficulties for future Ethereum network upgrades. While the proposal does not address the root of the issue, i.e., the reasons for such fast growth, it provides a temporary fix to stop swift expansion and therefore facilitate future upgrades. The Dencun fork is predicted to occur by the end of 2023, and the Electra-Prague fork is scheduled for mid-2024. By the time of the Electra-Prague fork, the Beacon Chain size could surpass 2 million active indices.

The proposal suggests starting with a churn upper limit of 12. This number is greater than the current churn rate and may initially lead to a decrease in churn per epoch once activated. An epoch is a period of 32 slots during which validators propose and verify blocks. The churn per epoch is the rate at which validators join or leave the active validator index in each epoch.The proposal outlines two main functions for managing validator exits and activations:

  • initiate_validator_exit:This function initiates the process of a validator exit. It calculates the epoch in which the validator will exit (exit_queue_epoch) and the number of validators exiting in that epoch (exit_queue_churn). If the churn for the epoch has reached its limit, the validator's exit is deferred to the next epoch.
  • process_registry_updates: This function handles updates to the registry of validators. It processes validators waiting to be activated up to the limit of the churn rate for that epoch. If the churn limit has been reached, further validators in the queue will have to wait for activation until the next epoch.

In addition, the function get_validator_churn_limit is proposed to be modified. This function calculates and returns the churn limit for the current epoch. The limit is computed based on the number of active validators and is confined within a minimum and maximum limit MIN_PER_EPOCH_CHURN_LIMIT and MAX_PER_EPOCH_CHURN_LIMIT respectively. The CHURN_LIMIT_QUOTIENT is used to determine the churn limit based on the current number of active validators.

The changes proposed are aimed at providing a means to limit the growth rate of the active validator set in the Ethereum beacon chain, which can be especially important as the Ethereum network evolves and grows over time.

Related Videos

_____________________________________________________________________

Disclaimer: The information contained in this website is for general informational purposes only. The content provided on this website, including articles, blog posts, opinions, and analysis related to blockchain technology and cryptocurrencies, is not intended as financial or investment advice. The website and its content should not be relied upon for making financial decisions. Read full disclaimer and privacy Policy.

For Press Releases, project updates and guest posts publishing with us, email to contact@etherworld.co.

Subscribe to EtherWorld YouTube channel for ELI5 content.

Share if you like the content. Donate at avarch.eth or Gitcoin

You've something to share with the blockchain community, join us on Discord!

Follow us at Twitter, Facebook, LinkedIn, and Instagram.


Share Tweet Send
0 Comments
Loading...
You've successfully subscribed to EtherWorld.co
Great! Next, complete checkout for full access to EtherWorld.co
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.