Ethereum 2.0 is an upgrade to the already existing Ethereum blockchain. It aims to increase the speed, efficiency, and scalability of the Ethereum network, enabling it to address the bottlenecks and increase the number of transactions. The pseudo names for Ethereum 2.0 are Eth2 or Serenity.
Ethereum 2.0 has some fundamental changes in its structure and design as compared to its previous version. The two major changes are “proof of stake” and “sharding.” Let us look at both these terms to understand the functioning of Ethereum 2.0
What Is Proof of Stake?
In a proof of stake consensus mechanism, there are validators instead of miners. Their major role is to propose new blocks, provide computing power, storage, and the bandwidth to validate transactions. The validators are given periodic payouts in ETH. There is a deposit contract of 32 ETH that should be locked in by these validators. It is a type of a security deposit that gets forfeited fully or partially in an event of any malpractice. This method is very effective in curbing malpractices.
What Is Sharding?
Sharding is the process of splitting one blockchain into multiple blockchains known as shards. It makes the entire network more efficient as a single validator does not have to handle the workload alone. Every validator maintains information related to “their” shard. These validators are also shuffled between shards regularly to avoid any kind of manipulation. The Beacon Chain is used for the communication and coordination of the shards.
How Does Ethereum Work?
The validators are the most important aspect of Ethereum 2.0 as they are solely responsible for its infrastructure and maintenance. Every validator has two keys: a signing key and a withdrawal key. A signing key is used to perform “work for the blockchain.” There are three main functions of a validator:
- To propose and add blocks to the Beacon Chain or one of the shard chains.
- To attest the validity of the beacon and shard chain.
- To report malicious behavior by other validators.
Due to these reasons, the signing key must be online 24/7. The withdrawal key performs actions on the funds. It is not necessary for the withdrawal key to be available all the time. However, it needs to be secured as the person has control over all the funds. If you want to become a validator, you need to lock up 32 ETH in the beacon chain. Validators do not work alone. They mostly work in committees wherein groups of minimum 128 validators vote on the head of the blockchain. The votes cast are of different types. They are:
- LMD GHOST votes: Attestations are for the head of the blockchain, specifically for the most recent block that the validators have agreed upon.
- Casper FFG votes: Attestations are for the checkpoint in the current epoch.
A checkpoint is the most recent block in the first slot of an epoch. Epochs comprise of 32 slots. Once 2 or 3 validators agree upon the most recent checkpoint, it gets justified. Once the previous checkpoint is justified, the last block gets finalized. So, after two epochs one block is finalized.
What Is the Difference Between Ethereum and Ethereum 2.0?
The major difference between Ethereum 2.0 and its counterpart is the consensus mechanism which they use. Ethereum uses proof of work (PoW) mechanism, while Ethereum 2.0 uses proof of stake (PoS) mechanism.
The proof of work mechanism is an energy-intensive process in which complex mathematical puzzles are decoded by miners with the help of computer hardware processing power. This is also used to verify new transactions. Whoever decodes the puzzle first, adds a new transaction which contains the previous transactional records making up the blockchain.
In the proof of stake mechanism, crypto is used to verify a transaction by the transaction validators instead of miners. The validators must propose a depending on the time and amount of crypto they hold. When a majority of validators claim to have seen the block, it is added to the blockchain and they are rewarded for conducting the block proposition successfully. This is how “forging” or “minting” takes place.
PoS is a more energy efficient mechanism as compared to PoW since it uses less computing power to secure a blockchain.
How Will Ethereum 2.0 Be More Secure?
The most important advantage of Ethereum 2.0 is its scalability. Ethereum 2.0 will have shard chains due to which it can conduct up to 10,000 transactions per second whereas Ethereum can support only 30 transactions per second. This also leads to a lot of delays and network congestion which will not be the case in Ethereum 2.0 [2]. The implementation of shard chains speeds up the network and can scale more easily as the transactions are handled in parallel chains instead of consecutive ones.
The main idea behind devising an upgrade to the existing Ethereum is to exercise more safety in the entire transaction. Many proof of stake networks have a very small set of validators. This accounts for decreased network security. Ethereum 2.0 requires a large set of validators, approximately 16,384, which makes it more decentralized, secure, and less prone to manipulation.
The Future of Ethereum 2.0
Ethereum is the largest general purpose blockchain in today’s market since its launch in 2015. More than 1,400 Ethereum projects are being built [3]. The upgrade will roll out in three phases: phase 0, 1, and 2.
Phase 0 was launched in December 2020 with the implementation of the Beacon Chain. It stores the registry of validators and deploys the proof of work consensus mechanism.
Phase 1 is anticipated to launch in 2021 and the shard chains will be integrated. 64 shards are expected to launch.
The Ethereum 1.0 chain will become a shard of Eth2 in Step 1.5, and transfers will be enabled, resulting in Eth2 resembling a “perpetual debt- and equity-like bond” and a floating rate, as validators can now freely enter and exit the scheme.
In Phase 2, the shards will become fully functional and compatible with smart contracts. It is scheduled to launch in 2021/22. It will be an upgraded version with added features.
With its added advantages and scalability, Ethereum 2.0 will garner more and more interest from investors in the years ahead.
What Are the Risks Associated with Ethereum 2.0 Participation?
As an ETH holder interested in Eth2 by staking, the key risks you face are:
- One-way Beacon Chain transfers and locked funds until Phase 1.5 (unknown timeline). The client app bugs (the software one runs as a validator) can be slashed.
- Shutdown of the service provider prior to Step 1.5.
Make your debut as a Certified Blockchain Professional (CBP) through our blockchain certification program as it will help you understand Ethereum and various other aspects of the blockchain world. The training program focuses on the information and skills necessary to keep you abreast of the latest tech trends and industry updates. The best part is that everything is packed in the form of a series of versatile learning modules that helps you define your own learning pace.
Enroll today to become a certified expert in blockchain!
References
- https://www.investopedia.com/tech/most-important-cryptocurrencies-other-than-bitcoin/
- https://decrypt.co/resources/what-is-ethereum-2-0
- https://blog.bybit.com/learn/what-is-the-future-of-ethereum/
By EC-Council